summaryrefslogtreecommitdiff
path: root/libs/rs/rsProgramFragment.cpp
diff options
context:
space:
mode:
author Maksymilian Osowski <maxosowski@google.com> 2010-08-31 15:29:05 +0100
committer Maksymilian Osowski <maxosowski@google.com> 2010-09-01 12:18:13 +0100
commitef9a2175ee29b9a9c84ddd0a02d1ec80ab095222 (patch)
tree09c4dbdf707928fd5dcfde4712b50450b9b3f154 /libs/rs/rsProgramFragment.cpp
parentc6f7413973bfca0432e8cf987cf821bf416cf7d8 (diff)
Fixed a bug in forwarder where calling the stop method on ForwarderManager would deadlock. Also some style fixes.
The call would deadlock because lines 62-67 in ConnectionHandler were in the synchronized block. The is.read() would block and therefore call to shutdown() would block too. is.read() would never unblock because the stream was ready to be closed, and it needs to be done so from shutdown(). Removing the synchronized block fixes it and is save, as it was not needed here. Change-Id: I3326098c47ee18c4eabaa8510b27ca82debce360
Diffstat (limited to 'libs/rs/rsProgramFragment.cpp')
0 files changed, 0 insertions, 0 deletions