diff --git a/smack-core/src/main/java/org/jivesoftware/smack/SmackReactor.java b/smack-core/src/main/java/org/jivesoftware/smack/SmackReactor.java index 29e2254a6..b7fdc6877 100644 --- a/smack-core/src/main/java/org/jivesoftware/smack/SmackReactor.java +++ b/smack-core/src/main/java/org/jivesoftware/smack/SmackReactor.java @@ -208,7 +208,8 @@ public class SmackReactor { long selectWait; if (nextScheduledAction == null) { - // There is no next scheduled action, wait indefinitely in select(). + // There is no next scheduled action, wait indefinitely in select() or until another thread invokes + // selector.wakeup(). selectWait = 0; } else { selectWait = nextScheduledAction.getTimeToDueMillis();