]> git.basschouten.com Git - openhab-addons.git/commit
[enocean] Fix concurrency exception on startup (#11408)
authorThomas Lauterbach <2452988+DrRSatzteil@users.noreply.github.com>
Wed, 20 Oct 2021 22:08:18 +0000 (00:08 +0200)
committerGitHub <noreply@github.com>
Wed, 20 Oct 2021 22:08:18 +0000 (00:08 +0200)
commit9cc3f441fd33dc6feec442b1916eac73882a4b9d
tree963643ee3112ad68ef4b07e7b4ff8d43f98abf05
parentd7df7a698d748d2b8affc02fce4cef555cae3702
[enocean] Fix concurrency exception on startup (#11408)

* made listeners a ConcurrentHashMap
* synchronized access to listeners and eventListeners collections of EnOceanTransceiver
* reverted ConcurrentHashMap change as NULL-Key is required

Fixes #11393

Also-by: Daniel Weber <uni@fruggy.de>
Signed-off-by: Thomas Lauterbach <lauterbachthomas@gmail.com>
bundles/org.openhab.binding.enocean/src/main/java/org/openhab/binding/enocean/internal/transceiver/EnOceanTransceiver.java