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

Commit 8217eac0 authored by Jesse Wilson's avatar Jesse Wilson Committed by Android (Google) Code Review
Browse files

Merge "Fix double-checked locking bug in LocalSocket." into gingerbread

parents e5206694 c59a6623
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -70,8 +70,11 @@ public class LocalSocket {
        if (!implCreated) {
            synchronized (this) {
                if (!implCreated) {
                    implCreated = true;
                    try {
                        impl.create(true);
                    } finally {
                        implCreated = true;
                    }
                }
            }
        }