Skip to content

Commit

Permalink
fix: correctly stopping gpsd thread (#5585)
Browse files Browse the repository at this point in the history
Signed-off-by: SimoneFiorani <[email protected]>
  • Loading branch information
sfiorani authored Nov 26, 2024
1 parent ec28686 commit 4e89455
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public void stop() {
}

if (executor != null) {

this.checkFuture.cancel(true);
executor.shutdown();

try {
Expand Down

0 comments on commit 4e89455

Please sign in to comment.