summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/message.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/message.cpp b/test/message.cpp
index 3775c30a..cf21d5ca 100644
--- a/test/message.cpp
+++ b/test/message.cpp
@@ -37,6 +37,11 @@ public:
protected:
void message(Message *msg)
{
+ if (msg->type() != Message::None) {
+ Object::message(msg);
+ return;
+ }
+
if (thread() != Thread::current())
status_ = InvalidThread;
else