We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5ee966 commit 8e5a9e4Copy full SHA for 8e5a9e4
src/zmc.cpp
@@ -246,10 +246,12 @@ int main(int argc, char *argv[]) {
246
247
monitor->LoadCamera();
248
249
- while (!monitor->connect()) {
+ while (!monitor->connect() and !zm_terminate) {
250
Warning("Couldn't connect to monitor %d", monitor->Id());
251
sleep(1);
252
}
253
+ if (zm_terminate) break;
254
+
255
SystemTimePoint now = std::chrono::system_clock::now();
256
monitor->SetStartupTime(now);
257
0 commit comments