Skip to content

Commit

Permalink
fix: await disconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
isordo committed Nov 1, 2023
1 parent 707fa6f commit b77d3d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-dapp/src/dapp-client/DAppClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ export class DAppClient extends Client {
}

async destroy(): Promise<void> {
;(await this.transport).disconnect()
await (await this.transport).disconnect()
await super.destroy()
}

Expand Down

0 comments on commit b77d3d1

Please sign in to comment.