diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-04 08:57:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-09-04 08:57:49 +0000 |
commit | 5f647647b2683875bdbed970d955a9e5123284bd (patch) | |
tree | 66dcf1d9f7a60cd19dd9ac410e27d5f6ead521d3 /ml/ml.cc | |
parent | Releasing debian version 1.42.1-1. (diff) | |
download | netdata-5f647647b2683875bdbed970d955a9e5123284bd.tar.xz netdata-5f647647b2683875bdbed970d955a9e5123284bd.zip |
Merging upstream version 1.42.2.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'ml/ml.cc')
-rw-r--r-- | ml/ml.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1725,6 +1725,9 @@ void ml_stop_threads() Cfg.detection_stop = true; Cfg.training_stop = true; + if (!Cfg.detection_thread) + return; + netdata_thread_cancel(Cfg.detection_thread); netdata_thread_join(Cfg.detection_thread, NULL); |