Bug 606884 - Remove the Places controller on view uninit.

r=mak
This commit is contained in:
ithinc 2011-06-08 15:18:50 +02:00
parent 7804781a5b
commit f3654b61f7

View File

@ -653,6 +653,11 @@ PlacesViewBase.prototype = {
this._result = null;
}
if (this._controller) {
this._viewElt.controllers.removeController(this._controller);
this._controller = null;
}
delete this._viewElt._placesView;
},