Fix Boehm API violation
We were calling GC_INIT() after doing an allocation (in the baseEnv construction), which is not allowed.
This commit is contained in:
parent
da6b704b19
commit
726f7f7fc9
4 changed files with 48 additions and 38 deletions
|
|
@ -1337,6 +1337,7 @@ int main(int argc, char * * argv)
|
|||
{
|
||||
return handleExceptions(argv[0], [&]() {
|
||||
initNix();
|
||||
initGC();
|
||||
|
||||
Strings opFlags, opArgs, searchPath;
|
||||
std::map<string, string> autoArgs_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue