# Stop Sound when app closed

**URL:** https://community.thunkable.com/t/stop-sound-when-app-closed/1320784
**Category:** Questions about Thunkable X
**Created:** [June 1, 2021, 6:50pm UTC](https://community.thunkable.com/t/stop-sound-when-app-closed/1320784 "2021-06-01T18:50:51Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tmurachpx](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@tmurachpx](https://community.thunkable.com/u/tmurachpx)
#### Post date: [June 1, 2021, 6:50pm UTC](https://community.thunkable.com/t/stop-sound-when-app-closed/1320784/1 "2021-06-01T18:50:51Z")

</div>

Hey Guys,  
I have an app which lets the user play short sound snippets. Unfortunatly, when the user plays the sound and then closes the app, the sound keeps playing… Any ideas on how to prevent that?

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [June 1, 2021, 7:51pm UTC](https://community.thunkable.com/t/stop-sound-when-app-closed/1320784/2 "2021-06-01T19:51:02Z")

</div>

I saw a topic recently that said this issue was fixed.

Is this happening in a published app, a downloaded app, or Thunkable Live?

iOS or Android?

---

<div class="post-metadata">

### Author: ![tmurachpx](https://avatars.discourse-cdn.com/v4/letter/t/c68b51/32.png) [@tmurachpx](https://community.thunkable.com/u/tmurachpx)
#### Post date: [June 2, 2021, 5:47am UTC](https://community.thunkable.com/t/stop-sound-when-app-closed/1320784/3 "2021-06-02T05:47:40Z")

</div>

Our app is in testflight / Android Beta right now. I just checked it on android (published). There the sound keeps playing. I will test it on ios later today.

---

<div class="post-metadata">

### Author: ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)
#### Post date: [June 2, 2021, 6:14am UTC](https://community.thunkable.com/t/stop-sound-when-app-closed/1320784/4 "2021-06-02T06:14:35Z")

</div>

This was an issue I reported in Thunkable Live but it was apparently fixed:

> <https://github.com/thunkable/thunkable-issues/issues/765>
>
> \### Platform
> Thunkable X
> 
> \### Issue/Request Origin
> 
> \### Steps to Reproduce
> …
> 1. Open https://x.thunkable.com/copy/4d20e68a037d7f0bc5312410ad9e389d, change "stop" block to "play." 
> 2. Song will begin playing immediately.
> 3. Change "play" block to "stop."
> 4. Click Live Test.
> 5. Close preview. 
> 6. The song now stops because of the "stop" block. But previewing a song that is playing and then closing the preview does not stop the song. It continues playing in the browser.
> 
> Could this be related to this issue? https://community.thunkable.com/t/sound-function-buggy/1021944/2
> 
> \### Project Link
> https://x.thunkable.com/copy/4d20e68a037d7f0bc5312410ad9e389d
> 
> \### Expected Behavior
> Not this!
> 
> \### Actual Behavior
> See above
> \`\`\`
> STACK TRACE AND/OR SCREENSHOTS
> \`\`\`
> Here's a screencast of the issue: https://drive.google.com/file/d/1cxK3Un\_43Bmn8HpS9csvIjCUDbNsYvIK/view

You might add a comment there to see if it’s related…?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/stop-sound-when-app-closed/1320784/5 "2024-11-08T13:22:07Z")

</div>


