Skip to content

Commit 083a5a3

Browse files
committed
Partial revert
1 parent 7968786 commit 083a5a3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
asyncclick (1:8.1.7-2) unstable; urgency=medium
2+
3+
* Fixups
4+
5+
-- Matthias Urlichs <[email protected]> Sun, 10 Mar 2024 10:28:31 +0100
6+
17
asyncclick (1:8.1.3-2) unstable; urgency=medium
28

39
* new Upstream

src/asyncclick/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ def call_on_close(self, f: t.Callable[..., t.Any]) -> t.Callable[..., t.Any]:
624624
625625
:param f: The function to execute on teardown.
626626
"""
627-
return self._ctx_mgr.callback(f)
627+
return self._exit_stack.callback(f)
628628

629629
def close(self) -> None:
630630
"""Invoke all close callbacks registered with

0 commit comments

Comments
 (0)