Commit 2998f24
committed
Close receiver first in MainDriver close.
I'm speculating there's a race or sequencing problem here that's causing
spurious warnings when the receiver loses its connection to the database
before it has been closed.
Certainly, it can't hurt to shut down the receiver first, then the
FormatDriver, before closing the mongoClient.1 parent 6dedb6b commit 2998f24
File tree
1 file changed
+2
-2
lines changed- bosk-mongo/src/main/java/works/bosk/drivers/mongo
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
| 366 | + | |
365 | 367 | | |
366 | 368 | | |
367 | 369 | | |
368 | 370 | | |
369 | | - | |
370 | | - | |
371 | 371 | | |
372 | 372 | | |
373 | 373 | | |
| |||
0 commit comments