Skip to content
Browse files

[JGRP-1888] Don't restart BroadcastTask during shutdown

  • Loading branch information...
1 parent f886837 commit e9b00eab460c0e2dac076a9924fa3ca3eb18354c @dereed dereed committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/jgroups/protocols/FD_SOCK.java
View
2 src/org/jgroups/protocols/FD_SOCK.java
@@ -1184,7 +1184,7 @@ public void removeAll() {
private void startTask() {
- if(future == null || future.isDone()) {
+ if(running && (future == null || future.isDone())) {
try {
future=timer.scheduleWithFixedDelay(this, suspect_msg_interval, suspect_msg_interval, TimeUnit.MILLISECONDS);
}

0 comments on commit e9b00ea

Please sign in to comment.
Something went wrong with that request. Please try again.