mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
Close Lua state before exiting redbean worker to allow GC to collect (#941)
This commit is contained in:
parent
cdbd10c9d0
commit
7138399f96
1 changed files with 1 additions and 0 deletions
|
@ -6556,6 +6556,7 @@ static int ExitWorker(void) {
|
||||||
monitorth = 0;
|
monitorth = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
LuaDestroy();
|
||||||
_Exit(0);
|
_Exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue