aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/service/protocol/media/MediaAwareCall.java
diff options
context:
space:
mode:
authorLyubomir Marinov <lyubomir.marinov@jitsi.org>2011-04-06 23:25:51 +0000
committerLyubomir Marinov <lyubomir.marinov@jitsi.org>2011-04-06 23:25:51 +0000
commit57d40e2fe6cf5005f1d991a461c516547dec7968 (patch)
tree74be5c2c532f87ff7673a5b06412301efadf0bb9 /src/net/java/sip/communicator/service/protocol/media/MediaAwareCall.java
parentd2dce49495b2ee7b2e847e312fbea44763117545 (diff)
downloadjitsi-57d40e2fe6cf5005f1d991a461c516547dec7968.zip
jitsi-57d40e2fe6cf5005f1d991a461c516547dec7968.tar.gz
jitsi-57d40e2fe6cf5005f1d991a461c516547dec7968.tar.bz2
Fixes a deadlock in the audio level functionality upong call hangup which prevents further calls from being established.
Diffstat (limited to 'src/net/java/sip/communicator/service/protocol/media/MediaAwareCall.java')
-rw-r--r--src/net/java/sip/communicator/service/protocol/media/MediaAwareCall.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/java/sip/communicator/service/protocol/media/MediaAwareCall.java b/src/net/java/sip/communicator/service/protocol/media/MediaAwareCall.java
index 173ce70..d5ac2c0 100644
--- a/src/net/java/sip/communicator/service/protocol/media/MediaAwareCall.java
+++ b/src/net/java/sip/communicator/service/protocol/media/MediaAwareCall.java
@@ -425,7 +425,7 @@ public abstract class MediaAwareCall<
{
synchronized(localUserAudioLevelListeners)
{
- localUserAudioLevelListeners.add(l);
+ localUserAudioLevelListeners.remove(l);
if (localUserAudioLevelListeners.isEmpty())
{