Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'providers')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java b/providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java
index 820fc5a76..4fc4c4d21 100644
--- a/providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java
+++ b/providers/bundles/org.eclipse.ecf.provider.jmdns/jmdns/javax/jmdns/impl/JmDNSImpl.java
@@ -650,13 +650,13 @@ public class JmDNSImpl extends JmDNS
// accesses to synchronized methods on that object. This is not
// what we want!
final Object lock = new Object();
- new Canceler(this, info, lock).start(timer);
// Remind: We get a deadlock here, if the Canceler does not run!
try
{
synchronized (lock)
{
+ new Canceler(this, info, lock).start(timer);
lock.wait();
}
}

Back to the top