From 7c72eb39c58236e9055a19eb8e317581c45ac275 Mon Sep 17 00:00:00 2001 From: Noah Gibbs Date: Thu, 17 Aug 2023 22:16:14 +0100 Subject: [PATCH] Fix typo in event loop handling --- lacci/lib/shoes/app.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lacci/lib/shoes/app.rb b/lacci/lib/shoes/app.rb index 771f73b0e..7254d5860 100644 --- a/lacci/lib/shoes/app.rb +++ b/lacci/lib/shoes/app.rb @@ -139,7 +139,7 @@ def run sleep 0.1 until @do_shutdown when "displaylib" # If run event returned, that means we're done. - app.destroy + destroy when "return" # We can just return to the main event loop. But we shouldn't call destroy. # Presumably some event loop *outside* our event loop is handling things.