mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-26 16:22:06 +01:00
Use notifyAll() (Smack-130)
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2288 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
e05235984b
commit
147288ed74
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue