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

Error after lock device #5

Closed
kosyloa opened this issue Jan 30, 2014 · 0 comments
Closed

Error after lock device #5

kosyloa opened this issue Jan 30, 2014 · 0 comments

Comments

@kosyloa
Copy link

kosyloa commented Jan 30, 2014

Case:

  1. lock device
    2 )Invoke callback - (void)ioFrameChannel:(PTChannel_)channel didEndWithError:(NSError_)error
    And error is nil(

My decision:
I change code in PTChannel.m from
" NSError *err = error == 0 ? _endError : [[NSError alloc] initWithDomain:NSPOSIXErrorDomain code:error userInfo:nil];
"
to
"
NSError *err = error == 0 ? channel->_endError : [[NSError alloc] initWithDomain:NSPOSIXErrorDomain code:error userInfo:nil];
"

And in callback i have correct error

@rsms rsms closed this as completed in 50c8a57 Dec 30, 2014
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

1 participant