diff --git a/src/extension.js b/src/extension.js index 1327a6d..74bc607 100644 --- a/src/extension.js +++ b/src/extension.js @@ -298,6 +298,11 @@ const WeatherMenuButton = new Lang.Class({ }, stop: function() { + if (_httpSession != undefined) + !httpSession.abort(); + + _httpSession = undefined; + if (this._timeoutCurrent) Mainloop.source_remove(this._timeoutCurrent);