fix: HashedWheelTimer#HashedWheelTimerFuture#isDone can't return currect result

This commit is contained in:
KFCFans 2020-11-14 11:38:58 +08:00
parent df32c786f9
commit c845b0abca

View File

@ -159,7 +159,7 @@ public class HashedWheelTimer implements Timer {
@Override @Override
public boolean isDone() { public boolean isDone() {
return startTime == FINISHED; return status == FINISHED;
} }
} }