Skip to content

Commit ba97913

Browse files
committed
fix destroy entity in the context of inflight retirements
1 parent 4c01f51 commit ba97913

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tc-server/src/main/java/com/tc/objectserver/handler/RetirementManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public void registerServerMessage(EntityMessage msg) {
6262
}
6363

6464
public boolean hasServerInflightMessages() {
65-
return !this.inflightServerMessages.isEmpty();
65+
return !this.inflightServerMessages.isEmpty() || !this.currentlyRunning.isEmpty() || !this.waitingForDeferredRegistration.isEmpty();
6666
}
6767

6868
public boolean isMessageRunning(EntityMessage invokeMessage) {

0 commit comments

Comments
 (0)