define devToolsWebContents for use from remote module
This commit is contained in:
parent
1679115302
commit
adb130cefa
1 changed files with 1 additions and 0 deletions
|
@ -17,6 +17,7 @@ BrowserWindow::_init = ->
|
|||
@setMenu menu if menu?
|
||||
|
||||
@webContents = @getWebContents()
|
||||
@devToolsWebContents = null
|
||||
@webContents.once 'destroyed', => @webContents = null
|
||||
|
||||
# Remember the window ID.
|
||||
|
|
Loading…
Reference in a new issue