Skip to content

Commit 0d85d79

Browse files
committed
Re-enable SIGINT handler in pyjlwrap_call
1 parent 0f685cf commit 0d85d79

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/callback.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,9 @@ function _pyjlwrap_call(f, args_::PyPtr, kw_::PyPtr)
4747
end
4848

4949
pyjlwrap_call(self_::PyPtr, args_::PyPtr, kw_::PyPtr) =
50-
_pyjlwrap_call(unsafe_pyjlwrap_to_objref(self_), args_, kw_)
50+
reenable_sigint() do
51+
_pyjlwrap_call(unsafe_pyjlwrap_to_objref(self_), args_, kw_)
52+
end
5153

5254
################################################################
5355
# allow the user to convert a Julia function into a Python

0 commit comments

Comments
 (0)