From 20760173f6d60e10b5a1c098a027365d8e5698f8 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Sun, 19 Jun 2016 15:16:10 +0100 Subject: [PATCH] next_for_console was not being set null when a service queued for the console (and was not initialised). --- src/service.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/service.h b/src/service.h index b1b1963..eed59e6 100644 --- a/src/service.h +++ b/src/service.h @@ -680,6 +680,7 @@ class ServiceSet { auto prev_tail = console_queue_tail; console_queue_tail = newTail; + newTail->next_for_console = nullptr; if (! prev_tail) { console_queue_head = newTail; enable_console_log(false); -- 2.25.1