standardize by hand
This commit is contained in:
parent
e6698102c9
commit
2c3cacdc08
8 changed files with 16 additions and 15 deletions
|
@ -29,7 +29,7 @@ ipcMain.on('ATOM_BROWSER_DESKTOP_CAPTURER_GET_SOURCES', function (event, capture
|
|||
// If the WebContents is destroyed before receiving result, just remove the
|
||||
// reference from requestsQueue to make the module not send the result to it.
|
||||
return event.sender.once('destroyed', function () {
|
||||
return request.webContents = null
|
||||
request.webContents = null
|
||||
})
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue