Skip to content

Commit

Permalink
Merge pull request #965 from WildMeOrg/redundant-DB-close-during-inde…
Browse files Browse the repository at this point in the history
…xing

removes redundant database close that will otherwise happen anyway in …
  • Loading branch information
holmbergius authored Jan 3, 2025
2 parents 57f0380 + c61cd57 commit 023135f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/ecocean/MarkedIndividual.java
Original file line number Diff line number Diff line change
Expand Up @@ -2609,7 +2609,7 @@ public void run() {
try {
MarkedIndividual indiv = bgShepherd.getMarkedIndividual(indivId);
if ((indiv == null) || (indiv.getEncounters() == null)) {
bgShepherd.rollbackAndClose();
//bgShepherd.rollbackAndClose();
executor.shutdown();
return;
}
Expand Down

0 comments on commit 023135f

Please sign in to comment.