···807807808808 drain_events(mc);
809809810810- // Stop the wait thread.
811811- os_thread_helper_stop(&mc->wait_thread.oth);
810810+ // Destroy the wait thread, destroy also stops the thread.
811811+ os_thread_helper_destroy(&mc->wait_thread.oth);
812812813813 // We are now off the rendering list, clear slots for any swapchains.
814814 slot_clear(&mc->progress);
+2-2
src/xrt/compositor/multi/comp_multi_system.c
···503503{
504504 struct multi_system_compositor *msc = multi_system_compositor(xsc);
505505506506- // Stop the render thread first.
507507- os_thread_helper_stop(&msc->oth);
506506+ // Destroy the render thread first, destroy also stops the thread.
507507+ os_thread_helper_destroy(&msc->oth);
508508509509 xrt_comp_native_destroy(&msc->xcn);
510510