Re-applied fix for SMACK-120

git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@3823 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
Pete Matern 2006-05-01 16:34:41 +00:00 committed by pete
parent bd6b9e6b26
commit 8398c6f4a9
1 changed files with 5 additions and 0 deletions

View File

@ -215,6 +215,11 @@ class PacketReader {
listener.connectionClosedOnError(e);
}
}
// Make sure that the listenerThread is awake to shutdown properly
synchronized (listenerThread) {
listenerThread.notify();
}
}
/**