Skip to content

Conversation

@frauzufall
Copy link
Member

  • make Gateway implement Disposable
  • delegate dispose() to context by default

Reason: It took me a while to figure out I have to call ij.context().dispose() to avoid memory leaks. This would make it a bit easier to find. It was also mentioned by @ctrueden in this forum thread.

Could this change have any implications which might not be covered by existing tests?

* make Gateway implement Disposable
* delegate dispose to context by default
@ctrueden ctrueden merged commit e288b21 into master Oct 15, 2019
@ctrueden ctrueden deleted the gateway-disposable branch October 15, 2019 02:39
@ctrueden
Copy link
Member

Thanks @frauzufall !

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.

3 participants