Skip to content

Conversation

@hwaxxer
Copy link

@hwaxxer hwaxxer commented Nov 13, 2013

Fixes memory leaks due to capturing self in NSNotificationCenter addObserver block. Also allows for more customization such as autorepeating and autoplay and not allowing the controls to be visible.

@blommegard
Copy link
Owner

Nice pull request!
When introducing the observations dict, do you think it makes sense to add all the existing notifications there as well, for nice deallocation? Or would we just skip it and have conditional removal in dealloc as well?

@hwaxxer
Copy link
Author

hwaxxer commented Nov 13, 2013

I actually wanted to do that but I didn't have the time. I can do it this weekend though. thanks for open sourcing this!

@blommegard
Copy link
Owner

Waiting for that to merge then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants