Abort possibly running Soup.session when extension is disabled.

multiprovider
Jens Lody 11 years ago
parent 270162733f
commit 947a39800f
  1. 5
      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);

Loading…
Cancel
Save