Closed jmillerv closed 1 year ago
If a podcast is playing and the stopCountDown ticker calls content.Stop. The logic runs, but the podcast continues to play.
My guess is that this is because the stopCountDown is running inside of a go routine and the podcast stream is running inside of a separate routine.
The likely solution is to use channels to allow them to communicate between routines.
Replicated this behavior inside of streams and podcasts, which makes sense as they both use go routines to play.
If a podcast is playing and the stopCountDown ticker calls content.Stop. The logic runs, but the podcast continues to play.
My guess is that this is because the stopCountDown is running inside of a go routine and the podcast stream is running inside of a separate routine.
The likely solution is to use channels to allow them to communicate between routines.