Cleanup previous PR
This commit is contained in:
parent
25f97f4ce5
commit
ad53a5bdff
2 changed files with 6 additions and 0 deletions
|
|
@ -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]
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue