feat: call clear_context in doubt
This commit is contained in:
parent
42cd0976ce
commit
0b068a07de
@ -217,7 +217,7 @@ void __attribute__((destructor)) clear_last_thread()
|
||||
TRACE("POST");
|
||||
// Running is the initial main thread. Just free the entry.
|
||||
if (!WAS_ALLOCATED(running)) {
|
||||
free(running);
|
||||
clear_context();
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user