mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Reload harder
Refreshing the background page does re-open the socket, but the inbox and other windows don't reattach correctly. Reload the whole runtime to force close all windows, reload the background, and re open the inbox.
This commit is contained in:
@@ -52,9 +52,7 @@
|
||||
'click': 'reloadBackgroundPage'
|
||||
},
|
||||
reloadBackgroundPage: function() {
|
||||
extension.windows.getBackground(function(bg) {
|
||||
bg.location.reload();
|
||||
});
|
||||
chrome.runtime.reload();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user