Skip to content

Commit

Permalink
[PJLink] restart threadpool if it was shutdown before
Browse files Browse the repository at this point in the history
This is an issue if the user cancels/restarts discovery scans.

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
  • Loading branch information
nils committed Dec 26, 2023
1 parent 6540d0d commit 06af7a9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ protected synchronized void stopScan() {
Thread.currentThread().interrupt(); // Reset interrupt flag
}
executorService.shutdown();
executorService = null;
}

public static ThingUID createServiceUID(String ip, int tcpPort) {
Expand Down

0 comments on commit 06af7a9

Please sign in to comment.