Skip to content

Commit

Permalink
Bug 1731564: Use motivated SpinEventLoopUntil inside security/*. r=bo…
Browse files Browse the repository at this point in the history
…bowen

Depends on D127231

Differential Revision: https://phabricator.services.mozilla.com/D127232
  • Loading branch information
jensstutte committed Oct 7, 2021
1 parent 8e6e0ce commit 4320224
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ bool RemoteSandboxBroker::LaunchApp(
->Then(target, __func__, std::move(resolve), std::move(reject));

// Spin the event loop while the sandbox launcher process launches.
SpinEventLoopUntil([&]() { return res != Pending; });
SpinEventLoopUntil("RemoteSandboxBroker::LaunchApp"_ns,
[&]() { return res != Pending; });

if (res == Failed) {
return false;
Expand Down

0 comments on commit 4320224

Please sign in to comment.