mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 18:48:00 +01:00
Merge branch '4.4'
This commit is contained in:
commit
4a83d2957e
1 changed files with 4 additions and 5 deletions
|
@ -221,12 +221,11 @@ public class SmackReactor {
|
|||
selectWait = 0;
|
||||
} else {
|
||||
selectWait = nextScheduledAction.getTimeToDueMillis();
|
||||
}
|
||||
|
||||
if (selectWait < 0) {
|
||||
if (selectWait <= 0) {
|
||||
// A scheduled action was just released and became ready to execute.
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
// Before we call select, we handle the pending the interest Ops. This will not block since no other
|
||||
// thread is currently in select() at this time.
|
||||
|
|
Loading…
Reference in a new issue