You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: don't reset constant handles the constructor never allocated
PerIsolateV8Constants declares 20 Persistent<String>* members but the
constructor allocates 19: DEBUG_NAME_PERSISTENT is never assigned. Its
destructor reset that member unconditionally, so it would have faulted on an
uninitialized pointer the first time it ran -- which nothing ever did, because
the object was leaked rather than deleted. Deleting it exposed the fault
immediately: every worker teardown segfaulted in ~PerIsolateV8Constants.
Default-initialize every member so the destructor is safe regardless of which
ones the constructor populates; ResetAndDelete already skips nulls.
0 commit comments