mirror of https://github.com/keeweb/keeweb
fixed hang in new electron: return void 0 from events
parent
d3ffceb1b5
commit
4c33e60c69
|
@ -246,7 +246,7 @@ function mainWindowBlur() {
|
|||
function emitBackboneEvent(e, arg) {
|
||||
if (mainWindow && mainWindow.webContents) {
|
||||
arg = JSON.stringify(arg);
|
||||
mainWindow.webContents.executeJavaScript(`Backbone.trigger('${e}', ${arg});`);
|
||||
mainWindow.webContents.executeJavaScript(`Backbone.trigger('${e}', ${arg}); void 0;`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue