My osgEarth 3.0-based application hangs during shutdown in the destructor for JobArena on MinGW but not Linux. I am seeing the same behavior when I run an osgEarth example program in the debugger. I used osgEarth_annotationd.exe in GDB to verify it hangs at the same location.
The _block member of JobArena is likely causing the issue since the ~condition_variable_any() function never returns. It looks like that the ~condition_variable_any() function is set to the default destructor in MinGW. The gcc version is 8.2.1 and the target is x86_64-w64-mingw32.
Has anyone else using osgEarth 3.0 with MinGW seen this problem?