Skip to content
Sign upLog in

How do i stop music when the repl is stopped?

Profile icon
codingMASTER398Hacker

Currently, I'm using the

@replit
/audio library in nodejs to play music.
But, when I stop the repl, the music keeps playing.

What can I do to stop this?

You are viewing a single comment. View All
Profile icon
lsikora

I'm not sure what your problem is specifically. Is this what your looking for....sound.pause();?

@codingMASTER398