From 1cb13582ff7e71395529d2ed65c7af8dab12842a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Mon, 24 Jun 2019 11:03:50 +0300 Subject: [PATCH] Fix worker state debug assertion Stopped workers will receive messages. --- server/core/worker.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/core/worker.cc b/server/core/worker.cc index b92ef49c4..b699e740b 100644 --- a/server/core/worker.cc +++ b/server/core/worker.cc @@ -720,7 +720,8 @@ bool Worker::post_message(uint32_t msg_id, intptr_t arg1, intptr_t arg2) { // NOTE: No logging here, this function must be signal safe. bool rval = false; - ss_dassert(state() != Worker::STOPPED); + // TODO: Fix this, it will be hit + // ss_dassert(state() != Worker::STOPPED); if (state() != Worker::STOPPED) {