Cleanup previous PR

This commit is contained in:
Kovid Goyal 2026-03-17 08:40:56 +05:30
parent 25f97f4ce5
commit ad53a5bdff
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
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 @@ def _call_on_quit_watchers(self, data: dict[str, Any]) -> bool:
break
if w is None:
return True
data['aborted'] = False
for watcher in global_watchers().on_quit:
try:
watcher(self, w, data)