# simple\_event example code fails after awhile

**URL:** <https://qa.fmod.com/t/simple-event-example-code-fails-after-awhile/10785>\
**Category:** FMOD Studio\
**Created:** [May 1, 2013, 10:26pm UTC](https://qa.fmod.com/t/simple-event-example-code-fails-after-awhile/10785 "2013-05-01T22:26:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rippon](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@rippon](https://qa.fmod.com/u/rippon)\
**Post date:** [May 1, 2013, 10:26pm UTC](https://qa.fmod.com/t/simple-event-example-code-fails-after-awhile/10785/1 "2013-05-01T22:26:08Z")

</div>

I’ve been implementing fmod slowly but surely into my project, and while it’s been a struggle without real docs, I am making progress. However, I’ve discovered that after playing my footstep event so many times, eventually all audio stops completely. I checked to make sure that I was releasing event instances after completion via a callback like in the simple\_event example project, but then I discovered the same issues in simple\_event if I just mash the 4 button. It only takes a few seconds to reproduce. Is there something I am missing? Or is this a bug? This is with the Mac version of the SDK.

Also, is there a way to poll for how many events are live, so that I might be able to track instance leaks in the future?

---

<div class="post-metadata">

**Author:** ![rippon](https://avatars.discourse-cdn.com/v4/letter/r/bcef8e/32.png) [@rippon](https://qa.fmod.com/u/rippon)\
**Post date:** [May 2, 2013, 1:28am UTC](https://qa.fmod.com/t/simple-event-example-code-fails-after-awhile/10785/2 "2013-05-02T01:28:12Z")

</div>

My bad, turns out 1.0.2 fixed this. Upgraded!
