Set GC_DONT_GC=1.
To avoid `Collecting from unknown thread'.
This commit is contained in:
parent
2871c7a3f4
commit
b062ac705d
|
@ -282,6 +282,9 @@ int main(int argc, char * * argv)
|
|||
$NIX_PATH. */
|
||||
unsetenv("NIX_PATH");
|
||||
|
||||
/* We are doing the garbage collection by killing forks */
|
||||
setenv("GC_DONT_GC", "1", 1);
|
||||
|
||||
return handleExceptions(argv[0], [&]() {
|
||||
initNix();
|
||||
initGC();
|
||||
|
|
Loading…
Reference in a new issue