diff --git a/dom/src/geolocation/GPSDGeolocationProvider.js b/dom/src/geolocation/GPSDGeolocationProvider.js index 300853307df..da73dcdd375 100644 --- a/dom/src/geolocation/GPSDGeolocationProvider.js +++ b/dom/src/geolocation/GPSDGeolocationProvider.js @@ -177,7 +177,7 @@ GPSDProvider.prototype = { LOG("shutdown called\n"); this.outputStream.close(); this.inputStream.close(); - this.transport.close(); + this.transport.close(Components.results.NS_OK); }, isReady: function() {