mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-16 20:22:05 +01:00
-shutting down the listener thread properly {SMACK-120}
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3367 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
204ffb915c
commit
e7c89235ba
1 changed files with 5 additions and 0 deletions
|
@ -187,6 +187,11 @@ class PacketReader {
|
|||
}
|
||||
}
|
||||
done = true;
|
||||
|
||||
// Make sure that the listenerThread is awake to shutdown properly
|
||||
synchronized (listenerThread) {
|
||||
listenerThread.notify();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue