From 7be1faaa9bc994ef2d3f9ef4c21cf967c88e578a Mon Sep 17 00:00:00 2001 From: Ryan Fleury Date: Wed, 13 Aug 2025 14:13:10 -0700 Subject: [PATCH] fix callstack cache lookup early out case --- src/ctrl/ctrl_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ctrl/ctrl_core.c b/src/ctrl/ctrl_core.c index 5fe76704..e2b494e4 100644 --- a/src/ctrl/ctrl_core.c +++ b/src/ctrl/ctrl_core.c @@ -3490,8 +3490,8 @@ ctrl_call_stack_from_thread(CTRL_Scope *scope, CTRL_Handle thread_handle, B32 hi } } - //- rjf: out of time => exit - if(retry_idx > 0 && os_now_microseconds() >= endt_us) + //- rjf: out of time, or got new result => exit + if((retry_idx > 0 && os_now_microseconds() >= endt_us) || !node_stale) { break; }