mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Destroy underlying element when resetting or destroying Workspace
This commit is contained in:
@@ -132,6 +132,10 @@ class WorkspaceElement extends HTMLElement {
|
||||
return this
|
||||
}
|
||||
|
||||
destroy () {
|
||||
this.subscriptions.dispose()
|
||||
}
|
||||
|
||||
getModel () { return this.model }
|
||||
|
||||
handleDragStart (event) {
|
||||
|
||||
Reference in New Issue
Block a user