Skip to content

Commit 4f073d6

Browse files
Changed stored properties from nonatomic to atomic for thread safety
1 parent 8065b6c commit 4f073d6

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

AppBox/AppDelegate.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
@interface AppDelegate : NSObject <NSApplicationDelegate, UNUserNotificationCenterDelegate>
1616

1717
//stored properties
18-
@property (nonatomic) BOOL processing;
19-
@property (nonatomic) BOOL isReadyToUpload;
20-
@property (nonatomic) BOOL isInternetConnected;
21-
@property (nonatomic) NSInteger exitCode;
18+
@property (atomic) BOOL processing;
19+
@property (atomic) BOOL isReadyToUpload;
20+
@property (atomic) BOOL isInternetConnected;
21+
@property (atomic) NSInteger exitCode;
2222

2323
//menu iboutlet
2424
@property (nonatomic, weak) IBOutlet NSMenuItem *dropboxLogoutButton;

0 commit comments

Comments
 (0)