Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.15.13
-
None
-
-
ed70faf87 (dev), bb5134726 (6.7)
Description
inconsistency between QCoreApplication:installNativeEventFilter and QCoreApplication:removeNativeEventFilter.
InstallNativeEventFilter requests an instance of QAbstractEventDispatcher with: QAbstractEventDispatcher::instance(QCoreApplicationPrivate::theMainThread.loadAcquire());
RemoveNativeEventFilter requests the instance without MainThread parameter.
This results in a leak / filter is not removed, if the RemoveNativeEventFilter is called from a thread other than the MainThread.