Skip to content

Commit 551450a

Browse files
committed
Ran clang-format on obs-studio-server/source/util-osx
1 parent 51857e1 commit 551450a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

obs-studio-server/source/util-osx-impl.mm

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
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

obs-studio-server/source/util-osx-int.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class UtilObjCInt {
4141

4242
private:
4343
void *self;
44-
std::atomic<bool> appRunning;
44+
std::atomic<bool> appRunning;
4545
std::thread *worker;
4646
};
4747

0 commit comments

Comments
 (0)