]> git.sesse.net Git - nageru/blobdiff - alsa_pool.h
Shut down the ALSA probe retry threads cleanly on exit.
[nageru] / alsa_pool.h
index b5d4cd542742b6dfbfdbf4c862a56961335aab99..c9cd61abda1e8ecbbbaa575bf6021b5ecae141bd 100644 (file)
@@ -149,8 +149,8 @@ private:
                                        const std::string &address);
 
        std::atomic<bool> should_quit{false};
-
        std::thread inotify_thread;
+       std::atomic<int> retry_threads_running{0};
 
        friend class ALSAInput;
 };