summaryrefslogtreecommitdiff
path: root/libs/binder/Static.cpp
diff options
context:
space:
mode:
author Yabin Cui <yabinc@google.com> 2018-06-07 19:06:39 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2018-06-07 19:06:39 +0000
commit0500dc6337d6a2335c7be1a55d139d190b994d83 (patch)
treed1251a37b9b998b56f86a3ad51904dcabd624b66 /libs/binder/Static.cpp
parentb46d5b2d82b021db41a72f4c3eb9250f8a839e04 (diff)
parentc39caf36da9999c4b61ec8898f8735dcce7fd199 (diff)
Merge "libbinder: fix using destroyed mutex warning." into pi-dev
Diffstat (limited to 'libs/binder/Static.cpp')
-rw-r--r--libs/binder/Static.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/binder/Static.cpp b/libs/binder/Static.cpp
index c5c3fd58c3..d6d0340a36 100644
--- a/libs/binder/Static.cpp
+++ b/libs/binder/Static.cpp
@@ -72,7 +72,7 @@ TextOutput& aerr(gStderrTextOutput);
// ------------ ProcessState.cpp
-Mutex gProcessMutex;
+Mutex& gProcessMutex = *new Mutex;
sp<ProcessState> gProcess;
class LibBinderIPCtStatics