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

Fix memory leaks #66

Merged
merged 4 commits into from
Jun 5, 2023
Merged

Fix memory leaks #66

merged 4 commits into from
Jun 5, 2023

Conversation

artginzburg
Copy link
Owner

No description provided.

- Manually release the NSTask instance
- Autorelease the returned string object
- Add `CFRelease()` after `CGEvent` posting in mouse down and mouse up events.
- Add `CFRelease()` after `ourEvent` is used to get the current pointer location.
@artginzburg artginzburg merged commit 9c3e7fb into refactor Jun 5, 2023
@artginzburg artginzburg deleted the fix-leaks branch June 5, 2023 07:08
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.

1 participant