Bug 985686 - DataStoreServiceChild is not leaked, r=ehsan

This commit is contained in:
Andrea Marchesini 2014-03-19 22:39:23 +00:00
parent bbdbff44c6
commit 395d7507e0

View File

@ -478,10 +478,12 @@ DataStoreServiceChild.prototype = {
switch (aMessage.name) {
case 'DataStore:Get:Return:OK':
this.destroyDOMRequestHelper();
this._successCb(aMessage.data.stores);
break;
case 'DataStore:Get:Return:KO':
this.destroyDOMRequestHelper();
this._errorCb();
break;
}