Qt: sometimes crash on exit when pressed on csd close button on windows
Backtrace:
[0x0] libqt_plugin!doActivate<0>+0x54 [//contrib/contrib-win64/qt/src/corelib/kernel/qobject.cpp @ 4002] 0x11af8fbcf0 0x7ffaf59709e2
[0x1] libqt_plugin!CSDButton::showHoveredChanged+0x22 [//win64/modules/gui/qt/util/csdbuttonmodel.moc.cpp @ 273] 0x11af8fbe10 0x7ffaf5867fbc
[0x2] libqt_plugin!CSDButton::setShowHovered+0x4c [//extras/package/win32/../../../modules/gui/qt/util/csdbuttonmodel.cpp @ 45] 0x11af8fbe40 0x7ffaf58e01cd
[0x3] libqt_plugin!`anonymous namespace'::CSDWin32EventHandler::setAllUnhovered::<lambda1>::operator()<CSDButton *>+0x1d [//extras/package/win32/../../../modules/gui/qt/maininterface/mainctx_win32.cpp @ 547] 0x11af8fbe80 0x7ffaf58e0162
[0x4] libqt_plugin!std::__1::for_each<QList<CSDButton *>::const_iterator,`lambda at //extras/package/win32/../../../modules/gui/qt/maininterface/mainctx_win32.cpp:544:55'>+0x62 [/opt/llvm-mingw/x86_64-w64-mingw32/include/c++/v1/__algorithm/for_each.h @ 25] 0x11af8fbec0 0x7ffaf58dfa5e
[0x5] libqt_plugin!`anonymous namespace'::CSDWin32EventHandler::setAllUnhovered+0x4e [//extras/package/win32/../../../modules/gui/qt/maininterface/mainctx_win32.cpp @ 544] 0x11af8fbf20 0x7ffaf58df692
[0x6] libqt_plugin!`anonymous namespace'::CSDWin32EventHandler::nativeEventFilter+0xa32 [//extras/package/win32/../../../modules/gui/qt/maininterface/mainctx_win32.cpp @ 434] 0x11af8fbf80 0x7ffaf67aa697
[0x7] libqt_plugin!QAbstractEventDispatcher::filterNativeEvent+0x97 [//contrib/contrib-win64/qt/src/corelib/kernel/qabstracteventdispatcher.cpp @ 565] 0x11af8fc0f0 0x7ffaf67fa852
[0x8] libqt_plugin!QEventDispatcherWin32::processEvents+0x502 [//contrib/contrib-win64/qt/src/corelib/kernel/qeventdispatcher_win.cpp @ 543] 0x11af8fc160 0x7ffaf6fd1958
[0x9] libqt_plugin!QWindowsGuiEventDispatcher::processEvents+0x18 [//contrib/contrib-win64/qt/src/gui/platform/windows/qwindowsguieventdispatcher.cpp @ 37] 0x11af8ff2b0 0x7ffaf613a9e9
[0xa] libqt_plugin!QEventLoop::processEvents+0x1e [//contrib/contrib-win64/qt/src/corelib/kernel/qeventloop.cpp @ 100] (Inline Function) (Inline Function)
[0xb] libqt_plugin!QEventLoop::exec+0x499 [//contrib/contrib-win64/qt/src/corelib/kernel/qeventloop.cpp @ 191] 0x11af8ff2f0 0x7ffaf5e2fe63
[0xc] libqt_plugin!QCoreApplication::exec+0x93 [//contrib/contrib-win64/qt/src/corelib/kernel/qcoreapplication.cpp @ 1511] 0x11af8ff3f0 0x7ffaf522a1fc
[0xd] libqt_plugin!Thread+0x1e0c [//extras/package/win32/../../../modules/gui/qt/qt.cpp @ 1089] 0x11af8ff460 0x7ffb03d8d301
[0xe] libvlccore!ThreadEntry+0x51 [//extras/package/win32/../../../src/win32/thread.c @ 358] 0x11af8ffa60 0x7ffbd06bf0ad
[0xf] msvcrt!_callthreadstartex+0x1d 0x11af8ffaa0 0x7ffbd06bf17c
[0x10] msvcrt!_threadstartex+0x7c 0x11af8ffad0 0x7ffbd20ce8d7
[0x11] KERNEL32!BaseThreadInitThunk+0x17 0x11af8ffb00 0x7ffbd291bf6c
[0x12] ntdll!RtlUserThreadStart+0x2c 0x11af8ffb30 0x0