Skip to content

Commit

Permalink
call pook.off in the end of pook.activate wrapper function
Browse files Browse the repository at this point in the history
  • Loading branch information
shift0965 committed Oct 14, 2024
1 parent 2d7c699 commit d58750d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pook/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def wrapper(*args, **kw):
try:
fn(*args, **kw)
finally:
_engine.disable()
off()

return wrapper

Expand Down

0 comments on commit d58750d

Please sign in to comment.