Skip to content

Commit 8098eb8

Browse files
committed
Do not close connection on errors
Closing the connection ends the executorService as well
1 parent bdfdc74 commit 8098eb8

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/main/java/org/keepassxc/Connection.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,11 +92,6 @@ public void run() {
9292
if (errorCount > MAX_ERROR_COUNT) {
9393
log.info("Too much errors - stopping MessagePublisher");
9494
doStop();
95-
try {
96-
close();
97-
} catch (Exception e) {
98-
log.error(e.toString(), e.getCause());
99-
}
10095
reconnect();
10196
}
10297
}

0 commit comments

Comments
 (0)