Cleanup previous PR

This commit is contained in:
Kovid Goyal
2026-03-17 08:40:56 +05:30
parent 25f97f4ce5
commit ad53a5bdff
2 changed files with 6 additions and 0 deletions

View File

@@ -165,6 +165,11 @@ consumption to do the same tasks.
Detailed list of changes
-------------------------------------
0.50.0 [future]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Watchers: Add an `on_quit` event to global watchers (:iss:`9675`)
0.46.1 [2026-03-16]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

View File

@@ -2098,6 +2098,7 @@ class Boss:
break
if w is None:
return True
data['aborted'] = False
for watcher in global_watchers().on_quit:
try:
watcher(self, w, data)