Qt: Fix crash when shutting down display

This commit is contained in:
Vicki Pfau 2019-05-23 21:53:32 -07:00
parent 70bc5a0bdb
commit ffe7142d1f
1 changed files with 4 additions and 0 deletions

View File

@ -404,6 +404,10 @@ void PainterGL::stop() {
dequeueAll();
m_backend->clear(m_backend);
m_backend->swap(m_backend);
if (m_swapTimer.isActive()) {
swap();
m_swapTimer.stop();
}
if (m_videoProxy) {
m_videoProxy->reset();
}