From 79f2bbc7273d190263cde1d5b48ca167fcdfa03c Mon Sep 17 00:00:00 2001 From: Tom Power Date: Wed, 27 Aug 2025 13:19:58 -0700 Subject: [PATCH] Fix memory error when placing images in viewport PiperOrigin-RevId: 800148735 Change-Id: I1c12ef23b0af9538b285d032460cf832eb48bf49 --- python/mujoco/simulate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/mujoco/simulate.cc b/python/mujoco/simulate.cc index f44bd9bd..51a1fe3b 100644 --- a/python/mujoco/simulate.cc +++ b/python/mujoco/simulate.cc @@ -198,7 +198,7 @@ class SimulateWrapper { } void SetImages( - const std::vector> viewports_images + const std::vector> viewports_images ) { // TODO: replace with atomic wait when we migrate to C++20 while (simulate_ && simulate_->newimagerequest.load() != 0) {