diff --git a/atom/browser/api/lib/browser-window.coffee b/atom/browser/api/lib/browser-window.coffee index 49608ca54d80..9c8e5a914f32 100644 --- a/atom/browser/api/lib/browser-window.coffee +++ b/atom/browser/api/lib/browser-window.coffee @@ -17,6 +17,7 @@ BrowserWindow::_init = -> @setMenu menu if menu? @webContents = @getWebContents() + @devToolsWebContents = null @webContents.once 'destroyed', => @webContents = null # Remember the window ID.