mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
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:
parent
62f2a9757f
commit
eebdf48521
@ -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({});
|
||||
});
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user