File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 4343 return ;
4444
4545 while (true ) {
46- if (!appRunning) {
47- break ;
48- }
46+ if (!appRunning) {
47+ break ;
48+ }
4949 int ret = ::read (file_descriptor, buffer.data (), count);
5050 if (ret > 0 ) {
5151 bool appCrashed = *reinterpret_cast <bool *>(buffer.data ());
@@ -110,10 +110,9 @@ @implementation UtilImplObj
110110 data2: 0 ];
111111 [NSApp postEvent: event atStart: TRUE ];
112112
113- appRunning = false ;
113+ appRunning = false ;
114114 if (worker->joinable ())
115115 worker->join ();
116-
117116 });
118117}
119118
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class UtilObjCInt {
4141
4242private:
4343 void *self;
44- std::atomic<bool > appRunning;
44+ std::atomic<bool > appRunning;
4545 std::thread *worker;
4646};
4747
You can’t perform that action at this time.
0 commit comments