Windows: Console window stays open for a long time after closing BMTrace
sidprice opened this issue · comments
Sid Price commented
Thiadmer Riemersma commented
The console window should not be there in the first place. These are GUI applications. However, the linker sets a flag in the PE header that it is a console application.
Are you using Makefile.mingw? I will need to look at the linker options.
Sid Price commented
Yes, I am using Makefile.mingw
Thiadmer Riemersma commented
Commit a2142e8 has an extra linker flag for MingW to avoid a console window on GUIs.
Sid Price commented
@compuphase Thank you, looks good and BMTrace shuts down much more quickly without the console window.