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:
parent
56341769bd
commit
82de8148d2
1 changed files with 1 additions and 3 deletions
|
@ -52,9 +52,7 @@
|
|||
'click': 'reloadBackgroundPage'
|
||||
},
|
||||
reloadBackgroundPage: function() {
|
||||
extension.windows.getBackground(function(bg) {
|
||||
bg.location.reload();
|
||||
});
|
||||
chrome.runtime.reload();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue