This is an automated email from the ASF dual-hosted git repository.
shuber pushed a commit to branch UNOMI-877
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/UNOMI-877 by this push:
new ca6d3e39b Clarify comment on node removal timing in `destroy` method.
ca6d3e39b is described below
commit ca6d3e39bf5aee0d57a76d7ece847c10f6d7219c
Author: Serge Huber <[email protected]>
AuthorDate: Mon Aug 25 16:13:13 2025 +0200
Clarify comment on node removal timing in `destroy` method.
---
.../java/org/apache/unomi/services/impl/cluster/ClusterServiceImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/services/src/main/java/org/apache/unomi/services/impl/cluster/ClusterServiceImpl.java
b/services/src/main/java/org/apache/unomi/services/impl/cluster/ClusterServiceImpl.java
index a83012ce8..80fcc6397 100644
---
a/services/src/main/java/org/apache/unomi/services/impl/cluster/ClusterServiceImpl.java
+++
b/services/src/main/java/org/apache/unomi/services/impl/cluster/ClusterServiceImpl.java
@@ -363,7 +363,7 @@ public class ClusterServiceImpl implements ClusterService {
}
public void destroy() {
- // Remove this node from the persistence service BEFORE setting
shutdownNow
+ // Remove this node from the persistence service BEFORE setting
shutdownNow otherwise it won't work
PersistenceService service = getPersistenceService();
if (service != null) {
try {