Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8fc46f7c authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "Fix darwin build break."

am: 1a73e9b7

Change-Id: Ie00c1ae1f8431659606adaaf78deffc25fb85118
parents 173c1fef 1a73e9b7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -26,8 +26,8 @@
namespace android {
namespace base {

static std::mutex quick_exit_mutex;
static std::vector<void(*)()> quick_exit_handlers;
static auto& quick_exit_mutex = *new std::mutex();
static auto& quick_exit_handlers = *new std::vector<void (*)()>();

void quick_exit(int exit_code) {
  std::lock_guard<std::mutex> lock(quick_exit_mutex);