diff --git a/src/xrt/drivers/wmr/wmr_hmd.c b/src/xrt/drivers/wmr/wmr_hmd.c index c9978b42f..3744ab142 100644 --- a/src/xrt/drivers/wmr/wmr_hmd.c +++ b/src/xrt/drivers/wmr/wmr_hmd.c @@ -294,7 +294,9 @@ wmr_run_thread(void *ptr) if (!hololens_sensors_read_packets(wh)) { break; } + os_thread_helper_lock(&wh->oth); } + os_thread_helper_unlock(&wh->oth); WMR_DEBUG(wh, "Exiting reading thread.");