Skip to content

Commit 3fc0b98

Browse files
committed
Reorder setting of states for shutdown
1 parent 4165fec commit 3fc0b98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hivemq-edge/src/main/java/com/hivemq/protocols/ProtocolAdapterWrapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ private void cleanUpScheduler() {
320320
log.error("Error stopping adapter with id {}", adapter.getId(), throwable);
321321
}
322322
protocolAdapterState.setRuntimeStatus(ProtocolAdapterState.RuntimeStatus.STOPPED);
323-
stopFutureRef.set(null);
324323
operationState.set(OperationState.IDLE);
324+
stopFutureRef.set(null);
325325
});
326326

327327
stopFutureRef.set(stopFuture);

0 commit comments

Comments
 (0)