Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
None
-
6.5, 6.6, 6.7
-
None
-
-
Multimedia Wk7, Multimedia Test
Description
According to [MFShutdown function (mfapi.h) - Win32 apps | Microsoft Learn|https://learn.microsoft.com/en-us/windows/win32/api/mfapi/nf-mfapi-mfshutdown], FMStartup and MFShutdown should not be called during static destruction.
The consequence of doing so is crashes during shutdown or failure to call remaining destructors. See for example QTBUG-120198.
The goal is to shut down WMF when the QApplication shuts down. This requires structural refactoring of the different backends.
Attachments
Issue Links
- relates to
-
QTBUG-120198 Process abruptly terminates while executing static destructor in Qt6Multimedia.dll
- Closed
-
QTBUG-121943 QPlatformMediaDevices is accessed before main on Android
- Closed