Commit a6344c72 authored by Marc Vef's avatar Marc Vef
Browse files

Fixing shutdown error

parent 00f5f7d3
Loading
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -119,6 +119,7 @@ Stats::Stats(bool enable_chunkstats, bool enable_prometheus,
Stats::~Stats() {
    if(output_thread_) {
        running = false;
        if(t_output.joinable())
            t_output.join();
    }
}