Fix a signal handler disconnection issue in the webapi tests.
Review Request #8426 — Created Sept. 21, 2016 and submitted — Latest diff uploaded
One of the new tests I introduced leaked a signal handler. Instead of
disconnecting when the function ended (due to registering as weak), it
hung around, interfering with some other tests.This wraps the entire code block in a
finally:
and disconnects it
after.
Test suite passes.