mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-12 18:55:09 +00:00
Until the thread is first set as Runnable at the end of sys$fork, its state is Invalid, and as a result, the Finalizer which is searching for Dying threads will never find it if the syscall short-circuits due to an error condition like OOM. This also meant the parent Process of the thread would be leaked as well.
5.8 KiB
5.8 KiB