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

Restart helper doesn't work #469

Open
Paddington12345 opened this issue Aug 14, 2024 · 2 comments
Open

Restart helper doesn't work #469

Paddington12345 opened this issue Aug 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@Paddington12345
Copy link

I would like to stop and then start sipua helper on re-registration. Although stop() seems to be synchronous, start() doesn't work if it's called immediately afterwards.

To Reproduce
Steps to reproduce the behavior:

  1. Registered & connected to websockets.. Sip helper is connected.
  2. Stop sipua helper
  3. Start sipua helper immediately afterwards
  4. Helper is not started

Expected behavior
I would expect helper to be started if you call stop() and start() immediately afterwards. But it looks like it only works if you put some delay between stop() and start().

System Infomation()
Flutter SDK Version: any
Target OS and Version: any
Host OS and Version: any

@Paddington12345 Paddington12345 added the bug Something isn't working label Aug 14, 2024
@victortive
Copy link
Contributor

Yeah the library emits a lot of events that are asynchronous

@Paddington12345
Copy link
Author

Paddington12345 commented Aug 20, 2024

Yes I see:)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants