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.
1 parent 6640463 commit dfd717cCopy full SHA for dfd717c
src/main/java/eu/openanalytics/containerproxy/service/ProxyService.java
@@ -95,8 +95,17 @@ public class ProxyService {
95
96
@PreDestroy
97
public void shutdown() {
98
- containerKiller.shutdown();
99
- for (Proxy proxy: getProxies(null, true)) backend.stopProxy(proxy);
+ try {
+ containerKiller.shutdown();
100
+ } finally {
101
+ for (Proxy proxy : activeProxies) {
102
103
+ backend.stopProxy(proxy);
104
+ } catch (Exception exception) {
105
+ exception.printStackTrace();
106
+ }
107
108
109
}
110
111
/**
0 commit comments