]> git.saurik.com Git - veency.git/commitdiff
Technically, this spin variable must be volatile.
authorJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Feb 2013 04:01:09 +0000 (04:01 +0000)
committerJay Freeman (saurik) <saurik@saurik.com>
Sun, 3 Feb 2013 04:01:09 +0000 (04:01 +0000)
Tweak.mm

index 86eff61c62d421915bfd2c8a0e601af8581e3578..28ff1b2c50ff6b63421778a45810043b6c32f6a3 100644 (file)
--- a/Tweak.mm
+++ b/Tweak.mm
@@ -144,7 +144,7 @@ static NSString *DialogFormat(@"Accept connection from\n%s?\n\nVeency VNC Server
 static NSString *DialogAccept(@"Accept");
 static NSString *DialogReject(@"Reject");
 
-static rfbNewClientAction action_ = RFB_CLIENT_ON_HOLD;
+static volatile rfbNewClientAction action_ = RFB_CLIENT_ON_HOLD;
 static NSCondition *condition_;
 static NSLock *lock_;