mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-23 02:58:00 +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