]> git.basschouten.com Git - openhab-addons.git/commit
[PJLink] forget threadpool after it was shutdown (#16119)
authorNils Schnabel <nils@users.noreply.github.com>
Thu, 28 Dec 2023 10:07:31 +0000 (11:07 +0100)
committerGitHub <noreply@github.com>
Thu, 28 Dec 2023 10:07:31 +0000 (11:07 +0100)
commitb5c2423f5701f23d73f80038ae38557f55529c3d
tree2df870d3f77f932154b48c87e76b44daa47167b8
parent13a06167ccf97121da16982632e02c5bc0149d6b
[PJLink] forget threadpool after it was shutdown (#16119)

This is an issue if the user cancels/restarts discovery scans, new tasks were added to the shutdown threadpool.
With this PR, a new threadpool will be created on the next scan in getExecutorService().

Signed-off-by: Nils Schnabel <github@to.nilsschnabel.de>
bundles/org.openhab.binding.pjlinkdevice/src/main/java/org/openhab/binding/pjlinkdevice/internal/discovery/AbstractDiscoveryParticipant.java