diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-02 22:35:33 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2015-06-02 22:35:33 +0200 |
commit | a365493f86f4b178723026858f0d153676e4f7e6 (patch) | |
tree | 45b4a09d03e7792d0ba133eaa56379d69d4766d6 /facetracknoir | |
parent | f27e117064d4718003157caa26d3da54b9d19f69 (diff) |
process-detector: restart once executable is gone
Diffstat (limited to 'facetracknoir')
-rw-r--r-- | facetracknoir/process_detector.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/process_detector.cpp b/facetracknoir/process_detector.cpp index a947ab19..902ab2ec 100644 --- a/facetracknoir/process_detector.cpp +++ b/facetracknoir/process_detector.cpp @@ -213,6 +213,8 @@ bool process_detector_worker::config_to_start(QString& str) // don't automatically start again while the same process is running. if (last_exe_name != "" && exe_list.contains(last_exe_name)) return false; + // it's gone, we can start automatically again + last_exe_name = ""; for (auto& name : exe_list) { |