mirror of https://github.com/keeweb/keeweb
fixed hang in new electron: return void 0 from events
parent
ad446e7adc
commit
ac23f70bb5
|
@ -256,7 +256,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