Skip to content

Commit 5b74b4a

Browse files
committed
fix: missing method in SLink
1 parent e2f35b4 commit 5b74b4a

File tree

1 file changed

+5
-0
lines changed
  • src/backend/src/modules/broadcast/connection

1 file changed

+5
-0
lines changed

src/backend/src/modules/broadcast/connection/SLink.js

+5
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ class SLink extends BaseLink {
6565
throw new Error('cannot send via SLink yet');
6666
}
6767

68+
disconnect () {
69+
this.socket.disconnect();
70+
this.state = this.constructor.OFFLINE;
71+
}
72+
6873
constructor ({
6974
keys,
7075
trustedKeys,

0 commit comments

Comments
 (0)