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

Not removing self as an observer #6

Closed
gapl opened this issue Apr 4, 2016 · 1 comment
Closed

Not removing self as an observer #6

gapl opened this issue Apr 4, 2016 · 1 comment

Comments

@gapl
Copy link
Contributor

gapl commented Apr 4, 2016

Basically what it says in the title. Would gladly open a pull request when I have 15 min to breathe :) Otherwise this is the snippet:

deinit {
    AVAudioSession.sharedInstance().removeObserver(self, forKeyPath: "outputVolume", context: nil)
}
@andreamazz
Copy link
Owner

Hi @gapl
My bad! I'll push a fixed version right away. Thanks for the heads up 👍

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

No branches or pull requests

2 participants