-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:
Alex Wenckus 2006-01-26 18:31:35 +00:00 committed by alex
parent 204ffb915c
commit e7c89235ba
1 changed files with 5 additions and 0 deletions

View File

@ -187,6 +187,11 @@ class PacketReader {
}
}
done = true;
// Make sure that the listenerThread is awake to shutdown properly
synchronized (listenerThread) {
listenerThread.notify();
}
}
/**