Commit 27061cc9 authored by Ben Noordhuis's avatar Ben Noordhuis
Browse files

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.
parent cc0e7efb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment