We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf7fc3f commit beb300cCopy full SHA for beb300c
1 file changed
lib/sdk/server/src/main/java/com/launchdarkly/sdk/server/DataSourceSynchronizerAdapter.java
@@ -90,15 +90,19 @@ public CompletableFuture<FDv2SourceResult> next() {
90
}
91
92
@Override
93
- public void close() throws IOException {
+ public void close() {
94
synchronized (startLock) {
95
if (closed) {
96
return;
97
98
closed = true;
99
100
101
- dataSource.close();
+ try {
102
+ dataSource.close();
103
+ } catch (IOException e) {
104
+ // Ignore as we are shutting down.
105
+ }
106
shutdownFuture.complete(FDv2SourceResult.shutdown());
107
if(startFuture != null) {
108
// If the start future is done, this has no effect.
0 commit comments