Fix worker state debug assertion
Stopped workers will receive messages.
This commit is contained in:
@ -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.
|
// NOTE: No logging here, this function must be signal safe.
|
||||||
bool rval = false;
|
bool rval = false;
|
||||||
ss_dassert(state() != Worker::STOPPED);
|
// TODO: Fix this, it will be hit
|
||||||
|
// ss_dassert(state() != Worker::STOPPED);
|
||||||
|
|
||||||
if (state() != Worker::STOPPED)
|
if (state() != Worker::STOPPED)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user