You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When doing a hot restart, the audio service keeps running. This causes problems when starting it again.
Furthermore, I use isolate nameservers to send complex objects to my service. After a hot restart, these become null, leading the service to crash.
Minimal reproduction project
It happens in the example too.
To Reproduce
Steps to reproduce the behavior:
Run the service
Run a hot restart
Observe
Expected behavior
The service should stop on a hot restart.
Runtime Environment (please complete the following information if relevant):
Device: Xiaomi Redmi K20 Pro
Android version: 10 (Evolution X | Custom ROM)
iOS version: Not tested
Flutter SDK version
(It doesn't detect EAP plugins, for some reason)
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, v1.12.13+hotfix.9, on Mac OS X 10.15.4 19E266, locale en-AU)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 11.4)
[!] Android Studio (not installed)
[!] IntelliJ IDEA Ultimate Edition (version 2020.1 RC)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (1 available)
! Doctor found issues in 2 categories.
Additional context
I'm not very experienced with isolates. I suspect that the bug's not really this plugin's fault, but it's be nice if we can find a workaround.
The text was updated successfully, but these errors were encountered:
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs, or use StackOverflow if you need help with audio_service.
Describe the bug
When doing a hot restart, the audio service keeps running. This causes problems when starting it again.
Furthermore, I use isolate nameservers to send complex objects to my service. After a hot restart, these become null, leading the service to crash.
Minimal reproduction project
It happens in the example too.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The service should stop on a hot restart.
Runtime Environment (please complete the following information if relevant):
Flutter SDK version
(It doesn't detect EAP plugins, for some reason)
Additional context
I'm not very experienced with isolates. I suspect that the bug's not really this plugin's fault, but it's be nice if we can find a workaround.
The text was updated successfully, but these errors were encountered: