Skip to content

Commit

Permalink
autotest: webserver.py: uninstall handler if final_check throws
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaston committed Oct 19, 2023
1 parent f53154c commit 9abf1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autotest/pymod/webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def install_http_handler(handler_instance):
custom_handler = handler_instance
try:
yield
finally:
handler_instance.final_check()
finally:
custom_handler = None


Expand Down

0 comments on commit 9abf1d4

Please sign in to comment.