From 3c306eaff995c37cc2ea5bb0d673601902b7518f Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 5 Jun 2019 10:54:07 +0200 Subject: [PATCH] Improve comment in SmackReactor --- .../src/main/java/org/jivesoftware/smack/SmackReactor.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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();