GKPeerPickerController Gives "wait_fences" Error When Using cocos2d

255 Views Asked by At

I have a cocos2d game all set up with a root view controller as it is meant to be. However, I am implementing Bluetooth gameplay, and when the user presses the cancel button on the peer picker controller, there is about 2 seconds of lag, and I get "wait_fences: failed to receive reply: 10004003" printed in the console. How can I fix this behaviour?

EDIT: -peerPickerControllerDidCancel: contents:

- (void)peerPickerControllerDidCancel:(GKPeerPickerController *)aPicker {
    aPicker.delegate = nil;
    [aPicker autorelease];
}

Thanks,
jrtc27

0

There are 0 best solutions below