Replies: 1 comment
-
Yes this might be correct. Therefore we should implement #1689 in order to fix this. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
All audio players need to be disposed, right?
IIUC,
ReleaseMode.release
only releases the internal audio playback pipeline on EOS and only on android. So ifAudioPlayer.dispose
is not called, on linux, that'll leave the native audio player alive forever including the pipeline, correct? And on android, only the audio player, without the playback pipeline is kept alive.So https://github.com/flame-engine/flame/blob/1d9fe6139287b984a05e0056c279b9c5d277e026/packages/flame_audio/example/lib/main.dart#L47-L49 should quickly lead to resource exhaustion. Is this correct?
Beta Was this translation helpful? Give feedback.
All reactions