-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(socket) fix error in case of failure/returning a error in the ope…
…n handler (#10154) * fix socket * one more test * always clean callback on deinit * Update src/bun.js/api/bun/socket.zig Co-authored-by: Jarred Sumner <[email protected]> * make context close private * keep old logic * move clean step to SocketContext.close * add comment * wait for close on stop * cleanup --------- Co-authored-by: Jarred Sumner <[email protected]>
- Loading branch information
1 parent
65d8288
commit f6b9c0c
Showing
3 changed files
with
144 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters