Skip to content
Commit Detail

Commit e8dea57

Author
Joe Lee <jlee@cloudflare.com> 2025-10-16 11:47:30 -0700
Parents
364d5e2
Tree
8e076c5
jsg: assert against adding to the destruction queue after v8 isolate is destroyed

Presumably the assert shouldn't fire, but destruction order can be tricky to
reason about, so it seems prudent to guard against the possibility of something
inadvertently getting added to the destruction queue after its final clearing.

Also resets the isolate pointer to null after destruction, which might make
memory bugs easier to detect.

Files changed

1 file changed~1 modified