mirror of
https://github.com/atom/atom.git
synced 2026-02-17 01:51:54 -05:00
committed by
Max Brunsfeld
parent
e92cb86335
commit
83a0cf28cd
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user