mirror of
https://github.com/atom/atom.git
synced 2026-02-08 05:35:04 -05:00
Dispose of WorkspaceElement subscriptions when detached
Signed-off-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
This commit is contained in:
@@ -23,6 +23,7 @@ class WorkspaceElement extends HTMLElement
|
||||
@focus()
|
||||
|
||||
detachedCallback: ->
|
||||
@subscriptions.dispose()
|
||||
@model.destroy()
|
||||
|
||||
initializeGlobalTextEditorStyleSheet: ->
|
||||
|
||||
Reference in New Issue
Block a user