diff --git a/src/client/bridge/index.ts b/src/client/bridge/index.ts index c2b4bcd4..ec776288 100644 --- a/src/client/bridge/index.ts +++ b/src/client/bridge/index.ts @@ -15,20 +15,13 @@ import { * Bridge */ export class Bridge { - static instance: Bridge - private _bncClient!: BncClient /** * @param {BncClient} bncClient */ constructor(bncClient: BncClient) { - if (!Bridge.instance) { - this._bncClient = bncClient - Bridge.instance = this - } - - return Bridge.instance + this._bncClient = bncClient } /**