Skip to content

Commit

Permalink
(fix) also exclude QEvent::Timer in MixxxApplication::notify()
Browse files Browse the repository at this point in the history
  • Loading branch information
ronso0 committed Dec 12, 2024
1 parent b7211ee commit fec051b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mixxxapplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ bool MixxxApplication::notify(QObject* pTarget, QEvent* pEvent) {
<< pEvent->type()
<< "for object";
if (pEvent->type() == QEvent::DeferredDelete ||
pEvent->type() == QEvent::ChildRemoved) {
pEvent->type() == QEvent::ChildRemoved ||
pEvent->type() == QEvent::Timer) {
// pTarget can be already dangling in case of DeferredDelete
debug << static_cast<void*>(pTarget); // will print dangling address
} else {
Expand Down

0 comments on commit fec051b

Please sign in to comment.