mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 541722 - updating out of date machine can cause data to be reverted
Don't have each engine reset their last sync but still have the service clear out its cached data (keys, records).
This commit is contained in:
parent
a371ae83ae
commit
2a92715bee
@ -876,12 +876,9 @@ WeaveSvc.prototype = {
|
||||
return false;
|
||||
|
||||
} else if (meta.payload.syncID != Clients.syncID) {
|
||||
this._log.warn("Meta.payload.syncID is " + meta.payload.syncID +
|
||||
", Clients.syncID is " + Clients.syncID);
|
||||
this.resetClient();
|
||||
this._log.info("Reset client because of syncID mismatch.");
|
||||
this.resetService();
|
||||
Clients.syncID = meta.payload.syncID;
|
||||
this._log.info("Reset the client after a server/client sync ID mismatch");
|
||||
this._log.debug("Clear cached values and take syncId: " + Clients.syncID);
|
||||
this._updateRemoteVersion(meta);
|
||||
|
||||
// XXX Bug 531005 Wait long enough to allow potentially another concurrent
|
||||
|
Loading…
Reference in New Issue
Block a user