Skip to content

Commit a5e4840

Browse files
add close()
1 parent 1ed3bcc commit a5e4840

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/puter-js/src/modules/networking/PSocket.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,7 @@ export class PSocket extends EventListener {
4141

4242
}
4343
}
44+
close() {
45+
wispInfo.handler.close(this._streamID);
46+
}
4447
}

0 commit comments

Comments
 (0)