mirror of
https://github.com/HackPlan/atom-shell.git
synced 2026-03-30 16:53:31 +08:00
define devToolsWebContents for use from remote module
This commit is contained in:
@@ -17,6 +17,7 @@ BrowserWindow::_init = ->
|
||||
@setMenu menu if menu?
|
||||
|
||||
@webContents = @getWebContents()
|
||||
@devToolsWebContents = null
|
||||
@webContents.once 'destroyed', => @webContents = null
|
||||
|
||||
# Remember the window ID.
|
||||
|
||||
Reference in New Issue
Block a user