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

Some devices may not disconnect on engine stop #80

Open
qdot opened this issue Jul 16, 2023 · 0 comments
Open

Some devices may not disconnect on engine stop #80

qdot opened this issue Jul 16, 2023 · 0 comments
Labels
bug Something isn't working core Dart code shared across all platforms

Comments

@qdot
Copy link
Contributor

qdot commented Jul 16, 2023

STR:

  1. Start Engine
  2. Connect 2 devices
  3. Stop Engine

Expected:
Everything disconnects

Actual:
Sometimes only one device disconnects.


There are a LOT of lifetime/destruction management issues in the library right now due to the copious amounts of Arc's used everywhere. Lots of circular references, lots of event loops not dying correctly, etc... This bug probably exists as a part of multiple layers from Buttplug through the Rust/Flutter bridge, but I'm filing it up top because it's probably the runtime management up here that's the main issue.

@qdot qdot added bug Something isn't working core Dart code shared across all platforms labels Jul 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working core Dart code shared across all platforms
Projects
None yet
Development

No branches or pull requests

1 participant