From 7070407df1d8f9bcbbd58f38ec488fee91a16794 Mon Sep 17 00:00:00 2001 From: xdya <42319681+xdya@users.noreply.github.com> Date: Wed, 12 Dec 2018 20:29:43 +0800 Subject: [PATCH] state transition No.6 do happens https://github.com/robovm/apple-ios-samples/issues/10 --- MVCNetworking/Networking/QRunLoopOperation.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVCNetworking/Networking/QRunLoopOperation.m b/MVCNetworking/Networking/QRunLoopOperation.m index ab75aa2c..074b4113 100644 --- a/MVCNetworking/Networking/QRunLoopOperation.m +++ b/MVCNetworking/Networking/QRunLoopOperation.m @@ -352,7 +352,7 @@ - (void)cancel runCancelOnRunLoopThread = ! oldValue && self.state == kQRunLoopOperationStateExecuting; } if (runCancelOnRunLoopThread) { - [self performSelector:@selector(cancelOnRunLoopThread) onThread:self.actualRunLoopThread withObject:nil waitUntilDone:YES modes:[self.actualRunLoopModes allObjects]]; + [self performSelector:@selector(cancelOnRunLoopThread) onThread:self.actualRunLoopThread withObject:nil waitUntilDone:NO modes:[self.actualRunLoopModes allObjects]]; } }