mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Merge branch 'mac-shutdown-crash-on-present' into fix-osx-crash-on-exit
This commit is contained in:
commit
c849d8e2a8
1 changed files with 2 additions and 3 deletions
|
@ -269,9 +269,6 @@ public:
|
|||
}
|
||||
_renderContext->doneCurrent();
|
||||
|
||||
// Deleting the object with automatically shutdown the thread
|
||||
connect(qApp, &QCoreApplication::aboutToQuit, this, &QObject::deleteLater);
|
||||
|
||||
// Transfer to a new thread
|
||||
moveToNewNamedThread(this, "RenderThread", [this](QThread* renderThread) {
|
||||
hifi::qt::addBlockingForbiddenThread("Render", renderThread);
|
||||
|
@ -2593,6 +2590,8 @@ Application::~Application() {
|
|||
|
||||
// Can't log to file passed this point, FileLogger about to be deleted
|
||||
qInstallMessageHandler(LogHandler::verboseMessageHandler);
|
||||
|
||||
_renderEventHandler->deleteLater();
|
||||
}
|
||||
|
||||
void Application::initializeGL() {
|
||||
|
|
Loading…
Reference in a new issue