From b7c4e647dd6083d11e6ff8ab96de1bb8d7210006 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 7 Aug 2025 14:13:13 -0700 Subject: [PATCH] finalize it --- selfdrive/ui/tests/test_raylib_ui.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selfdrive/ui/tests/test_raylib_ui.py b/selfdrive/ui/tests/test_raylib_ui.py index e0154e846b..82a1a38781 100644 --- a/selfdrive/ui/tests/test_raylib_ui.py +++ b/selfdrive/ui/tests/test_raylib_ui.py @@ -5,4 +5,7 @@ from openpilot.selfdrive.ui.layouts.main import MainLayout def test_raylib_ui(): """Test initialization of the UI widgets is successful.""" gui_app.init_window("UI") - MainLayout() + try: + MainLayout() + finally: + gui_app.close()