-
Notifications
You must be signed in to change notification settings - Fork 7
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
Crash after sleep #1
Comments
Looks like MTDeviceRelease() sort of happens automatically on system sleep, and an object can't be released twice. I bet the same error will be thrown if you try running MTDeviceRelease() before MTRegisterContactFrameCallback() and MTDeviceStart(). |
I've found out that checking that device is running as it's done in OpenMultitouchSupport UPDATE: |
I get
EXC_BAD_INSTRUCTION
when laptop wakes up after sleep.Stack trace:
It seems like it's an issue with MTDeviceRelease(mtDevice); line. When I comment out this line it works fine.
The text was updated successfully, but these errors were encountered: