Skip to content

Commit 95beea7

Browse files
committed
fixes #90
1 parent d9c5663 commit 95beea7

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

ngwidgets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.29.0"
1+
__version__ = "0.29.1"

ngwidgets/test_base_webserver.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,12 @@ def stop(self) -> None:
7070
# Mark the start time of the shutdown
7171
start_time = time.time()
7272
# call the shutdown see https://github.com/zauberzeug/nicegui/discussions/1957
73-
app.shutdown()
73+
try:
74+
app.shutdown()
75+
except Exception as e:
76+
if self.debug:
77+
self.warn(f"Expected shutdown exception: {e}")
78+
7479
# Initialize the timer for timeout
7580
end_time = start_time + self.shutdown_timeout
7681

ngwidgets/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Version:
1717
name = "ngwidgets"
1818
version = ngwidgets.__version__
1919
date = "2023-09-10"
20-
updated = "2025-07-21"
20+
updated = "2025-07-22"
2121
description = "NiceGUI widgets"
2222

2323
authors = "Wolfgang Fahl"

0 commit comments

Comments
 (0)