diff --git a/content/handlers/javascript/duktape/dukky.c b/content/handlers/javascript/duktape/dukky.c index 830f48108..52a9c82cf 100644 --- a/content/handlers/javascript/duktape/dukky.c +++ b/content/handlers/javascript/duktape/dukky.c @@ -785,7 +785,7 @@ static void dukky_destroythread(jsthread *thread) jsheap *heap = thread->heap; assert(thread->in_use == 0); - assert(thread->pending_destroy = true); + assert(thread->pending_destroy == true); /* Closing down the extant thread */ NSLOG(dukky, DEBUG, "Closing down extant thread %p in heap %p", thread, heap);