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

Commit 1a73e9b7 authored by Josh Gao's avatar Josh Gao Committed by Gerrit Code Review
Browse files

Merge "Fix darwin build break."

parents c9c555b8 c95afaa2
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);