Commit c8413da5 authored by Geoff Simmons's avatar Geoff Simmons

trackrdrd: don't shutdown the monitor thread if it wasn't started

           (fixes the last commit)
parent 4f9981b2
...@@ -484,6 +484,7 @@ child_main(struct VSM_data *vd, int endless) ...@@ -484,6 +484,7 @@ child_main(struct VSM_data *vd, int endless)
WRK_Halt(); WRK_Halt();
WRK_Shutdown(); WRK_Shutdown();
AZ(MQ_GlobalShutdown()); AZ(MQ_GlobalShutdown());
if (config.monitor_interval > 0.0)
MON_StatusShutdown(monitor); MON_StatusShutdown(monitor);
LOG_Log0(LOG_INFO, "Worker process exiting"); LOG_Log0(LOG_INFO, "Worker process exiting");
LOG_Close(); LOG_Close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment