slab_allocator: fix crash in dtor if V8 is dead
authorBen Noordhuis <info@bnoordhuis.nl>
Tue, 5 Jun 2012 13:58:55 +0000 (15:58 +0200)
committerBen Noordhuis <info@bnoordhuis.nl>
Tue, 5 Jun 2012 14:27:57 +0000 (16:27 +0200)
commitcc0e7efb3765ffd22d1394618e3f648cde7dfddc
tree40f8d3cdf8e4b555c4fcdd7ecadf89c7c2494724
parent208d1715a788562dbdb8f7eae17ddfb254690e5b
slab_allocator: fix crash in dtor if V8 is dead

Don't try to dispose the persistent handles if the VM is already dead, it
triggers an assertion inside V8.
src/slab_allocator.cc