mirror of
https://github.com/HeyPuter/puter.git
synced 2025-02-02 23:28:39 +08:00
fix: missing method in SLink
This commit is contained in:
parent
e2f35b4844
commit
5b74b4affa
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user