mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-03-11 17:42:54 +03:00

Waiting on the semaphore was not enough, it was causing a crash on replicant removal. Now we wait for the replicant main thread to exit. It fixes replicants, at least when a single one is used per application. Using more than one still causes issues due to some libs not liking being used twice (hlcache it seems).