forked from nodejs/node
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
udp_wrap, stream_wrap: lazy init slab allocator
Create slab allocator when binding is initialized. Add an AtExit handler to destroy the slab before the VM shuts down, it can't be disposed when V8 is dead and Valgrind will complain about memory leaks.
- Loading branch information
1 parent
cc0e7ef
commit 27061cc
Showing
2 changed files
with
29 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