Skip to content

Call cleanup in callback and error handler instead of finally block.#665

Merged
dherault merged 1 commit into
dherault:masterfrom
Andorbal:master
May 20, 2019
Merged

Call cleanup in callback and error handler instead of finally block.#665
dherault merged 1 commit into
dherault:masterfrom
Andorbal:master

Conversation

@Andorbal
Copy link
Copy Markdown
Contributor

This should address the second part of #659 where cleanup wasn't getting called properly for callback based requests that deferred execution.

I'm not sure what the original intent of the cleanup method was and this feels a bit like whack-a-mole. That said, all tests pass (including two new ones) and the test application linked in the issue works correctly. Speaking of tests, I have one test around error handling and I'm not sure how to suppress logging of the error to the screen while running the tests. Not sure if that matters, but it doesn't look nice.

@dherault dherault merged commit a3e0bc5 into dherault:master May 20, 2019
@dherault
Copy link
Copy Markdown
Owner

Thanks @Andorbal, v4.10.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants