diff options
Diffstat (limited to 'web/server/static/static-threaded.c')
-rw-r--r-- | web/server/static/static-threaded.c | 2 |
1 files changed, 2 insertions, 0 deletions
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]; |