fix(closing): window can be closing on event
This commit is contained in:
parent
0f450d3133
commit
9d5667eb00
@ -266,6 +266,7 @@ app.on("ready", () => {
|
||||
{
|
||||
const id = arg[arg.length - 1].callback
|
||||
arg[arg.length - 1] = (responce) => {
|
||||
if(mainWindow)
|
||||
mainWindow.webContents.send('callback', id, responce)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user