1
0
Fork 0
mirror of https://github.com/gorhill/uMatrix.git synced 2024-06-02 10:24:59 +12:00

just trying something to possibly workaround reported crashes in #40

This commit is contained in:
gorhill 2014-11-04 08:49:30 -05:00
parent 92c48c0d49
commit 1d9a8e18e8

View file

@ -87,7 +87,12 @@ exports.keyvalRemoveAll = function(callback) {
/******************************************************************************/
exports.restart = function() {
chrome.runtime.reload();
// 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();
});
};
/******************************************************************************/