mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-27 10:12:56 -04:00
Add early test for zm_terminate after processing comms
This commit is contained in:
@@ -586,6 +586,7 @@ void MonitorStream::runStream() {
|
||||
Debug(2, "Have checking command Queue for connkey: %d", connkey);
|
||||
got_command = true;
|
||||
}
|
||||
if (zm_terminate) break;
|
||||
// Update modified time of the socket .lock file so that we can tell which ones are stale.
|
||||
if (now - last_comm_update > Hours(1)) {
|
||||
touch(sock_path_lock);
|
||||
|
||||
Reference in New Issue
Block a user