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

Use connect() instead of simpleConnect() #364

Merged
merged 1 commit into from
Apr 24, 2024
Merged

Conversation

rock3r
Copy link
Collaborator

@rock3r rock3r commented Apr 22, 2024

The latter API is @Internal, and doesn't get correctly disconnected when the plugin is unloaded. We now use the connect(CoroutineScope) API, and the SwingBridgeService's scope, so that the message bus connection gets correctly closed when needed.

The latter API is `@Internal`, and doesn't get correctly disconnected
when the plugin is unloaded. We now use the `connect(CoroutineScope)`
API, and the SwingBridgeService's scope, so that the message bus
connection gets correctly closed when needed.
@rock3r rock3r added the cleanup Improve the project/tooling and/or get rid of tech debt label Apr 22, 2024
@rock3r rock3r requested review from devkanro and fscarponi April 22, 2024 09:42
@rock3r rock3r self-assigned this Apr 22, 2024
@rock3r rock3r merged commit 401bdce into main Apr 24, 2024
9 checks passed
@rock3r rock3r deleted the use-scoped-connection branch April 24, 2024 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Improve the project/tooling and/or get rid of tech debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants