Open goopsie opened 5 years ago
I notice that too. And it cause problem because if you start another playback, you won't be able to stop the playback since it sending signal to another instance which already dead.
I end up set up another channel to notify that goroutine to exit after function return
After the audio is done playing, Nothing happens to the goroutine that's listening on the "stop" channel