We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 809e330 + 6120f94 commit dbb6d63Copy full SHA for dbb6d63
direct/io-pubsub/module/src/main/java/cz/o2/proxima/direct/io/pubsub/AbstractPubSubWriter.java
@@ -30,7 +30,6 @@
30
import java.io.IOException;
31
import java.net.URI;
32
import java.util.concurrent.ExecutorService;
33
-import java.util.concurrent.TimeUnit;
34
import java.util.concurrent.atomic.AtomicInteger;
35
import javax.annotation.Nullable;
36
import lombok.extern.slf4j.Slf4j;
@@ -140,9 +139,6 @@ public synchronized void close() {
140
139
flightLock.wait(100);
141
}
142
143
- executor.shutdown();
144
- executor.awaitTermination(10, TimeUnit.SECONDS);
145
- executor = null;
146
publisher.shutdown();
147
} catch (Exception ex) {
148
log.warn("Failed to shutdown publisher {}", publisher, ex);
0 commit comments