From 2b2c9e493ba3ab3f283d0861c3b0e72cb3dc3fb2 Mon Sep 17 00:00:00 2001 From: aniket-engg Date: Tue, 18 May 2021 11:40:00 +0530 Subject: [PATCH] deactivatePlugin hardhat --- apps/remix-ide/src/app/files/remixd-handle.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/remix-ide/src/app/files/remixd-handle.js b/apps/remix-ide/src/app/files/remixd-handle.js index 8b8cfd8b98..a2d94eb3ea 100644 --- a/apps/remix-ide/src/app/files/remixd-handle.js +++ b/apps/remix-ide/src/app/files/remixd-handle.js @@ -39,6 +39,7 @@ export class RemixdHandle extends WebsocketPlugin { deactivate () { if (super.socket) super.deactivate() // this.appManager.deactivatePlugin('git') // plugin call doesn't work.. see issue https://github.com/ethereum/remix-plugin/issues/342 + this.appManager.deactivatePlugin('hardhat') this.locahostProvider.close((error) => { if (error) console.log(error) }) @@ -51,6 +52,7 @@ export class RemixdHandle extends WebsocketPlugin { async canceled () { // await this.appManager.deactivatePlugin('git') // plugin call doesn't work.. see issue https://github.com/ethereum/remix-plugin/issues/342 await this.appManager.deactivatePlugin('remixd') + await this.appManager.deactivatePlugin('hardhat') } /**