Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add destroy method to Plugin #168

Open
beam-sysuser opened this issue Apr 24, 2019 · 0 comments
Open

Add destroy method to Plugin #168

beam-sysuser opened this issue Apr 24, 2019 · 0 comments

Comments

@beam-sysuser
Copy link

Add destroy() method to Plugin that is called on all plugins before Gyro shuts down, the default implementation should do nothing.

This is needed to make Retrofit + OkHTTP work correctly. OkHTTP creates a background thread that never exits on its own so we need to force a cleanup when Gyro is about to shutdown. There is currently no way to do this.

[GYRO-146] created by beetlebugorg
@beam-sysuser beam-sysuser added this to the 0.99.1 milestone Oct 8, 2019
@beetlebugorg beetlebugorg modified the milestones: 0.99.1, 0.99.2 Jan 29, 2020
@beetlebugorg beetlebugorg removed this from the 0.99.2 milestone Jul 13, 2020
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

No branches or pull requests

2 participants