Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory warning causes everything to freeze #12

Open
YoniTsafir opened this issue Feb 12, 2012 · 1 comment
Open

Memory warning causes everything to freeze #12

YoniTsafir opened this issue Feb 12, 2012 · 1 comment
Assignees
Labels

Comments

@YoniTsafir
Copy link

I think that you forgot to [spView start] at the end of the cleanup...
Is this on purpose?

(If I misunderstood something feel free to discard this issue)

@ghost ghost assigned mnem Feb 12, 2012
@mnem
Copy link
Owner

mnem commented Feb 12, 2012

It looks like I have some odd code in there. It should work if you delete these lines in didReceiveMemoryWarning in SparrowBonesViewController:

// Stop listenting for Application state cahnges
[[NSNotificationCenter defaultCenter] removeObserver:self];

// Stop the SPView and audio and remove the stage
[self.spview stop];
[SPAudioEngine stop];
self.spview.stage = nil;

I'll update it and push a new version shortly. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants