diff --git a/src/main.cpp b/src/main.cpp index 6298ce06..859fa240 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -336,6 +336,7 @@ int main(int argc, char *argv[]) { forward.detach(); } + auto timer = platf::create_high_precision_timer(); auto local_shutdown= mail->event(mail::shutdown); while (!process_shutdown_event->peek() && !local_shutdown->peek()) timer->sleep_for(100ms);