MCPcopy Create free account
hub / github.com/ICBNetwork/web3-Wallet / destroyEngineInstance

Method destroyEngineInstance

app/core/Engine.ts:1587–1596  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1585 }
1586
1587 async destroyEngineInstance() {
1588 Object.values(this.context).forEach((controller: any) => {
1589 if (controller.destroy) {
1590 controller.destroy();
1591 }
1592 });
1593 this.removeAllListeners();
1594 await this.resetState();
1595 Engine.instance = null;
1596 }
1597
1598 rejectPendingApproval(
1599 id: string,

Callers 2

Engine.test.jsFile · 0.80
destroyEngineFunction · 0.80

Calls 1

removeAllListenersMethod · 0.95

Tested by

no test coverage detected