Browse Source

just trying something to possibly workaround reported crashes in #40

pull/2/head
gorhill 10 years ago
parent
commit
1d9a8e18e8
  1. 5
      src/js/xal.js

5
src/js/xal.js

@ -87,7 +87,12 @@ exports.keyvalRemoveAll = function(callback) {
/******************************************************************************/ /******************************************************************************/
exports.restart = function() { exports.restart = function() {
// https://github.com/gorhill/uMatrix/issues/40
// I don't know if that helps workaround whatever Chromium bug causes
// the browser to crash.
chrome.runtime.sendMessage({ what: 'restart' }, function() {
chrome.runtime.reload(); chrome.runtime.reload();
});
}; };
/******************************************************************************/ /******************************************************************************/

Loading…
Cancel
Save