commit | bd8c83db8f424a8cfbf94cd4915d7b99b034358c | [log] [tgz] |
---|---|---|
author | Maksymilian Osowski <maxosowski@google.com> | Fri Sep 03 12:32:12 2010 +0100 |
committer | Maksymilian Osowski <maxosowski@google.com> | Mon Sep 06 12:24:26 2010 +0100 |
tree | 64b402ed719dc50f2928471488833ce90bb32ee9 | |
parent | fddedbf999a57220ed89bbebe9f35e093aa77c2d [diff] |
Fixed the bug in forwarder that prevented ConnectionHandler threads from exiting. There was a deadlock when ConnectionHandler exited the loop in SocketPipeThread, and would call the onFinishedCallback, which called the synchronized method in Forwarder that would deadlock. Changing the Forwarder class solved the issue and made it more efficient. Change-Id: I947450a19573f2e88274b1ebc7b77d4df6afffa7