diff --git a/ext/libstrawberry-common/core/messagereply.h b/ext/libstrawberry-common/core/messagereply.h index 2b0fec900..a1a8c25da 100644 --- a/ext/libstrawberry-common/core/messagereply.h +++ b/ext/libstrawberry-common/core/messagereply.h @@ -87,11 +87,12 @@ void MessageReply::SetReply(const MessageType &message) { success_ = true; qLog(Debug) << "Releasing ID" << id() << "(finished)"; - semaphore_.release(); // Delay the signal as workaround to fix the signal periodically not emitted. QTimer::singleShot(1, this, &_MessageReplyBase::Finished); + semaphore_.release(); + } #endif // MESSAGEREPLY_H