Skip to content

Commit

Permalink
add close to psocket
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammerIn-wonderland committed Jan 14, 2025
1 parent 1ed3bcc commit 0146afe
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/puter-js/src/modules/networking/PSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,7 @@ export class PSocket extends EventListener {

}
}
close() {
wispInfo.handler.write(this._streamID);
}
}

0 comments on commit 0146afe

Please sign in to comment.