From fb31c3be0034ce9d517b993e49e6b344358b2a6d Mon Sep 17 00:00:00 2001 From: Jonathan Hogg Date: Mon, 6 Jan 2025 09:05:13 +0000 Subject: [PATCH] Missing `await` This is likely a sure sign that I need to get tests of the controller framework written... --- src/flitter/render/controller/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flitter/render/controller/__init__.py b/src/flitter/render/controller/__init__.py index e9d390cb..28c49a25 100644 --- a/src/flitter/render/controller/__init__.py +++ b/src/flitter/render/controller/__init__.py @@ -75,7 +75,7 @@ async def update(self, engine, node, time, **kwargs): unknown.add(child.kind) for kind in unknown.difference(self.unknown): logger.warning("Unhandled node in controller: {!r}", child) - self.purge() + await self.purge() self.unknown = unknown self.controls = controls await self.driver.finish_update()