From 147288ed74aaea25c87cfcd0817f53e7ff86dd60 Mon Sep 17 00:00:00 2001 From: Matt Tucker Date: Wed, 7 Apr 2004 23:49:00 +0000 Subject: [PATCH] Use notifyAll() (Smack-130) git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2288 b35dd754-fafc-0310-a699-88a17e54d16e --- source/org/jivesoftware/smack/PacketWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/org/jivesoftware/smack/PacketWriter.java b/source/org/jivesoftware/smack/PacketWriter.java index bac92aeef..ebb48f005 100644 --- a/source/org/jivesoftware/smack/PacketWriter.java +++ b/source/org/jivesoftware/smack/PacketWriter.java @@ -120,13 +120,13 @@ class PacketWriter { if (!done) { synchronized(queue) { queue.addFirst(packet); - queue.notify(); + queue.notifyAll(); } // Add the sent packet to the list of sent packets // The PacketWriterListeners will be notified of the new packet synchronized(sentPackets) { sentPackets.addFirst(packet); - sentPackets.notify(); + sentPackets.notifyAll(); } } }