Skip to content

Commit

Permalink
Merge pull request #14012 from ronso0/notify-fix
Browse files Browse the repository at this point in the history
(fix) also exclude QEvent::Timer in MixxxApplication::notify()
  • Loading branch information
daschuer authored Dec 12, 2024
2 parents b7211ee + fec051b commit 328d277
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 328d277

Please sign in to comment.