Skip to content

Commit a931b1c

Browse files
authored
Use the validated root context for streamed event fallback
1 parent c6f7434 commit a931b1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/reflex-base/src/reflex_base/event/processor/event_processor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,7 @@ async def _emit_delta_impl(
537537
try:
538538
parent_context = EventContext.get()
539539
except LookupError:
540-
parent_context = self._root_context
540+
parent_context = root
541541
task_future = await self.enqueue(
542542
token,
543543
event,

0 commit comments

Comments
 (0)