Skip to content

Commit

Permalink
fix: missing method in SLink
Browse files Browse the repository at this point in the history
KernelDeimos committed Aug 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent e2f35b4 commit 5b74b4a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/backend/src/modules/broadcast/connection/SLink.js
Original file line number Diff line number Diff line change
@@ -65,6 +65,11 @@ class SLink extends BaseLink {
throw new Error('cannot send via SLink yet');
}

disconnect () {
this.socket.disconnect();
this.state = this.constructor.OFFLINE;
}

constructor ({
keys,
trustedKeys,

0 comments on commit 5b74b4a

Please sign in to comment.