3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-07-30 16:03:17 +00:00

Use _Exit(0) on win32, always use _Exit(1) in log_error()

This commit is contained in:
Clifford Wolf 2016-08-16 09:36:49 +02:00
parent 5531bd7578
commit 5767e4bc4d
2 changed files with 6 additions and 1 deletions

View file

@ -509,6 +509,11 @@ int main(int argc, char **argv)
free(hist_list);
#endif
log_flush();
#ifdef _WIN32
_Exit(0);
#endif
yosys_shutdown();
return 0;