mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fix the fix to the infinite reload loop
…after talking to arbesfeld
This commit is contained in:
@@ -130,7 +130,8 @@ Autoupdate._retrySubscription = function () {
|
||||
attachStylesheetLink(newLink);
|
||||
});
|
||||
}
|
||||
else if (doc._id === 'version' && doc.version !== autoupdateVersion && handle) {
|
||||
else if (doc._id === 'version' && autoupdateVersion !== 'unknown' &&
|
||||
doc.version !== autoupdateVersion) {
|
||||
handle && handle.stop();
|
||||
Package.reload.Reload._reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user