Skip to content

Commit facd362

Browse files
committed
formatting
1 parent 0d89fc4 commit facd362

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎lib/core/CDetachedProcessSpawner_Linux.cc‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -595,8 +595,9 @@ bool CDetachedProcessSpawner::spawn(const std::string& processPath,
595595
// unrelated process.
596596
{
597597
CProcess::TPid sandboxPid{childPid};
598-
std::thread([sandboxPid, tracker = m_TrackerThread,
599-
sbx = std::move(sandboxPtr)]() mutable {
598+
std::thread([
599+
sandboxPid, tracker = m_TrackerThread, sbx = std::move(sandboxPtr)
600+
]() mutable {
600601
sandbox2::Result result{sbx->AwaitResult()};
601602
switch (result.final_status()) {
602603
case sandbox2::Result::OK:
@@ -631,7 +632,8 @@ bool CDetachedProcessSpawner::spawn(const std::string& processPath,
631632
break;
632633
}
633634
tracker->removePid(sandboxPid);
634-
}).detach();
635+
})
636+
.detach();
635637
}
636638

637639
return true;

0 commit comments

Comments
 (0)