summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2012-08-17 15:06:02 -0700
committer Mathias Agopian <mathias@google.com> 2012-08-17 18:48:56 -0700
commit10125f00a50d3edd05deef9fcd2d368cf2766683 (patch)
tree9c7a89d1fc421b2516b5662b9c57ea2af349ea5c /libs/gui/ConsumerBase.cpp
parent2c7eb92b6394427bfe81962668d46194959bc722 (diff)
Fix deadlock in SF.
problem was that we were acquiring a strong reference on Connection object with a lock held, when those got out of scope (lock still held) their dtor could be called if all other refs had dropped, the dtor would acquire the lock again to remove the Connection from the main list. boom. we rearange the code so this doesn't happen. Bug: 6942208 Change-Id: I0a0ebabce2842d29d60d645b64aac2f26640e59b
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions