From 2361e0e3d16dd9a524d2af23f609eddc34e6393b Mon Sep 17 00:00:00 2001 From: Christian Heimlich Date: Wed, 16 Oct 2024 06:21:47 -0400 Subject: [PATCH] Fix blocking message box leak --- app/src/frontend/statusrelay.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/frontend/statusrelay.cpp b/app/src/frontend/statusrelay.cpp index 9cd24ba..7aa1f77 100644 --- a/app/src/frontend/statusrelay.cpp +++ b/app/src/frontend/statusrelay.cpp @@ -91,7 +91,10 @@ void StatusRelay::messageHandler(const Message& message) msg->setTextInteractionFlags(Qt::TextSelectableByMouse); if(message.blocking) + { msg->exec(); + delete msg; + } else { msg->setAttribute(Qt::WA_DeleteOnClose);