-
Notifications
You must be signed in to change notification settings - Fork 331
fix memory leaks #178
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
base: master
Are you sure you want to change the base?
fix memory leaks #178
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh great! Why I have never seen that before?!
Can you address the few comments before I merge them?
guard let self = self else { return } | ||
guard !self.session.isRunning else { return } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I prefer one line guard. Is it possible to inline the first statement?
guard let self = self, !self.session.isRunning else { return }
guard let self = self else { return } | ||
guard self.session.isRunning else { return } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The same here.
guard let self = self, self.session.isRunning else { return }
@yannickl May I ask you to merge the changes and apply the two changes afterwards? The memory issue is quite severe. Thank you! |
pull from upstream
No description provided.