diff --git a/apps/remix-ide/src/app/files/remixd-handle.js b/apps/remix-ide/src/app/files/remixd-handle.js index eeb9b30073..ddebac6bf8 100644 --- a/apps/remix-ide/src/app/files/remixd-handle.js +++ b/apps/remix-ide/src/app/files/remixd-handle.js @@ -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') } /**