Bug 486667 - Clients get amnesia -- forget who they are after a wipe

Set the local client info after resetting the clients store hash
This commit is contained in:
Edward Lee 2009-04-03 09:26:12 -05:00
parent 62f2a9757f
commit eebdf48521

View File

@ -261,7 +261,12 @@ ClientStore.prototype = {
},
wipe: function ClientStore_wipe() {
this.modify("Wiping local clients store", function() this.clients = {});
this.modify("Wiping local clients store", function() {
this.clients = {};
// Make sure the local client is still here
this.clients[Clients.clientID] = Clients.updateLocalInfo({});
});
},
};