Fixes thread deadlock in ConnectivityCheckClent, this patch has been contributed by amrinder on the issues tracker of ice4j.
This commit is contained in:
parent
163fead8ad
commit
c8d9101610
@ -1040,9 +1040,9 @@ class ConnectivityCheckClient
|
|||||||
{
|
{
|
||||||
PaceMaker paceMaker = paceMakersIter.next();
|
PaceMaker paceMaker = paceMakersIter.next();
|
||||||
|
|
||||||
paceMaker.running = false;
|
|
||||||
synchronized(paceMaker)
|
synchronized(paceMaker)
|
||||||
{
|
{
|
||||||
|
paceMaker.running = false;
|
||||||
paceMaker.notify();
|
paceMaker.notify();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user