This commit is contained in:
Jack Andersen
2017-02-15 13:13:27 -10:00
4 changed files with 57 additions and 51 deletions

View File

@@ -450,7 +450,8 @@ public:
if (m_vsyncRunning)
{
m_vsyncRunning = false;
m_vsyncThread.join();
if (m_vsyncThread.joinable())
m_vsyncThread.join();
}
m_ctx->m_windows.erase(m_parentWindow);