From 07be28c64624c888adc2a8fbe743b96a7b515f6b Mon Sep 17 00:00:00 2001 From: dalthviz <16781833+dalthviz@users.noreply.github.com> Date: Thu, 25 Sep 2025 10:41:26 -0500 Subject: [PATCH] Add note about workers registration as tasks and close confirmation dialog when closing napari GUI via close button --- docs/guides/threading.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/guides/threading.md b/docs/guides/threading.md index bb3fe3e63..2e89a5493 100644 --- a/docs/guides/threading.md +++ b/docs/guides/threading.md @@ -308,6 +308,12 @@ to force quit your program. So whenever possible, sprinkle your long-running functions with `yield`. +```{note} +Starting with napari 0.6.5 workers get registered as a running task and a confirmation +dialog will be shown if they are still running when closing the napari GUI via +its close button. +``` + ## Full two-way communication So far we've mostly been *receiving* results from the threaded function, but we