From b0e236fadf38b31b57a228b29ec5ff1d08a3a67d Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Sun, 6 Mar 2022 17:04:03 -0500 Subject: [PATCH] Manually trigger graphics loops updates on msgs from the fsp chain --- piker/ui/_fsp.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/piker/ui/_fsp.py b/piker/ui/_fsp.py index ac35067c..d9d44d8a 100644 --- a/piker/ui/_fsp.py +++ b/piker/ui/_fsp.py @@ -438,7 +438,13 @@ class FspAdmin: started.set() + from ._display import trigger_update + # wait for graceful shutdown signal + async with stream.subscribe() as stream: + async for msg in stream: + trigger_update() + await complete.wait() async def start_engine_task(