From 66564c2324abc58b24327b763e1113ff781156a2 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 21 Feb 2019 20:34:01 +0100 Subject: Adding upstream version 1.12.1. Signed-off-by: Daniel Baumann --- web/server/static/static-threaded.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'web/server/static/static-threaded.c') diff --git a/web/server/static/static-threaded.c b/web/server/static/static-threaded.c index 56e726ba1..1945b8a3e 100644 --- a/web/server/static/static-threaded.c +++ b/web/server/static/static-threaded.c @@ -264,6 +264,8 @@ static void web_server_tmr_callback(void *timer_data) { static __thread RRDSET *st = NULL; static __thread RRDDIM *rd_user = NULL, *rd_system = NULL; + if(unlikely(netdata_exit)) return; + if(unlikely(!st)) { char id[100 + 1]; char title[100 + 1]; -- cgit v1.2.3