Signed-off-by: Max Brunsfeld <maxbrunsfeld@github.com>
This commit is contained in:
Nathan Sobo
2015-10-13 15:47:45 -06:00
committed by Max Brunsfeld
parent e92cb86335
commit 83a0cf28cd
2 changed files with 31 additions and 31 deletions

View File

@@ -650,7 +650,7 @@ class AtomEnvironment extends Model
window.onerror = @previousWindowErrorHandler
installWindowEventHandler: ->
@windowEventHandler = new WindowEventHandler(this)
@windowEventHandler = new WindowEventHandler({atomEnvironment: this, @applicationDelegate})
uninstallWindowEventHandler: ->
@windowEventHandler?.unsubscribe()