Commit 9acb5b19 authored by davidzagi93@gmail.com's avatar davidzagi93@gmail.com

Merge branch 'master' of https://github.com/ethereum/remix-project into remixd_terminal

parents 4d0bcde0 cfa0530e
......@@ -74,7 +74,8 @@ module.exports = class TestTab extends ViewPlugin {
onDeactivation () {
this.off('filePanel', 'newTestFileCreated')
this.off('filePanel', 'setWorkspace')
this.fileManager.events.removeListener('currentFileChanged', this.updateForNewCurrent)
// 'currentFileChanged' event is added more than once
this.fileManager.events.removeAllListeners('currentFileChanged')
}
listenToEvents () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment