# Release sound freeze the main thread

**URL:** https://qa.fmod.com/t/release-sound-freeze-the-main-thread/15499
**Category:** FMOD Engine
**Created:** [February 28, 2020, 3:53am UTC](https://qa.fmod.com/t/release-sound-freeze-the-main-thread/15499 "2020-02-28T03:53:52Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![donbe](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/donbe/32/965_2.png) [@donbe](https://qa.fmod.com/u/donbe)
#### Post date: [February 28, 2020, 3:53am UTC](https://qa.fmod.com/t/release-sound-freeze-the-main-thread/15499/1 "2020-02-28T03:53:52Z")

</div>

If `sound->getOpenState` equals `FMOD_OPENSTATE_CONNECTING`, then `sound->release()` sound will freeze the main thread, even if the release operation is in the sub thread.

I run code on the ios system.  
FMOD Studio API Version : `iOS 2.00.07`

Is there a solution?

---

<div class="post-metadata">

### Author: ![cameron-fmod](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cameron-fmod/32/261_2.png) [@cameron-fmod](https://qa.fmod.com/u/cameron-fmod)
#### Post date: [March 5, 2020, 12:07am UTC](https://qa.fmod.com/t/release-sound-freeze-the-main-thread/15499/2 "2020-03-05T00:07:12Z")

</div>

Are you able to reproduce this in our netstream example, in the API Core examples?
