Fix a signal handler disconnection issue in the webapi tests.

Review Request #8426 — Created Sept. 21, 2016 and submitted — Latest diff uploaded

Information

Review Board
release-2.5.x
1068154...

Reviewers

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.

    Loading...