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