Commit 2e9ea9e5 authored by yann300's avatar yann300

make sure plugins deactivated if modal not validated

parent 8d723522
...@@ -38,7 +38,7 @@ export class RemixdHandle extends WebsocketPlugin { ...@@ -38,7 +38,7 @@ export class RemixdHandle extends WebsocketPlugin {
deactivate () { deactivate () {
if (super.socket) super.deactivate() if (super.socket) super.deactivate()
this.call('manager', 'deactivatePlugin', 'git') this.appManager.deactivatePlugin('git') // plugin call doesn't work..
this.locahostProvider.close((error) => { this.locahostProvider.close((error) => {
if (error) console.log(error) if (error) console.log(error)
}) })
...@@ -49,8 +49,8 @@ export class RemixdHandle extends WebsocketPlugin { ...@@ -49,8 +49,8 @@ export class RemixdHandle extends WebsocketPlugin {
} }
async canceled () { async canceled () {
this.call('manager', 'deactivatePlugin', 'git') await this.appManager.deactivatePlugin('git') // plugin call doesn't work..
this.call('manager', 'deactivatePlugin', 'remixd') await this.appManager.deactivatePlugin('remixd')
} }
/** /**
......
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