Commit 08a24c79 authored by Benoît Minisini's avatar Benoît Minisini
Browse files

Delete global QThreadPool object on fork only if QT version is at least 5.15.0.

[GB.QT5]
* BUG: Delete global QThreadPool object on fork only if QT version is at least 5.15.0.
parent 419b92a1
Pipeline #320097007 failed with stage
in 23 minutes and 47 seconds
......@@ -1263,10 +1263,12 @@ int EXPORT GB_INFO(const char *key, void **value)
}
#endif
#if QT_VERSION >= QT_VERSION_CHECK(5, 15, 0)
void EXPORT GB_FORK(void)
{
delete QThreadPool::globalInstance();
}
#endif
/*#ifndef NO_X_WINDOW
extern Time qt_x_time;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment