add a sanity check
This commit is contained in:
parent
6366d21399
commit
2b294f0b43
@ -671,6 +671,7 @@ SystemExec::terminate ()
|
||||
wait();
|
||||
if (thread_active) pthread_join(thread_id_tt, NULL);
|
||||
thread_active = false;
|
||||
assert(pid == 0);
|
||||
::pthread_mutex_unlock(&write_lock);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user