Memory leak fixes (#2387)

* Clean up listeners

* Fix uses of 'destroy' instead of 'destroyed'
This commit is contained in:
Andrew Henry
2019-04-26 10:34:24 -07:00
committed by Deep Tailor
parent d2e2d55caf
commit 844280eaa5
6 changed files with 32 additions and 13 deletions

View File

@@ -116,7 +116,7 @@
this.notebookEnabled = true;
}
},
destroy() {
destroyed() {
this.view.destroy();
}
}