mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-12-07 19:41:11 +01:00
The pattern if (now > deadline) break; wait(deadline - now); is insufficient in case "now == deadline" because the result would be wait() being called with 0, which would mean "wait until notified". Thus, the timeout would become infinite. |
||
|---|---|---|
| .. | ||
| integration-test | ||
| main | ||
| test | ||