Remove synchronization to avoid deadlocks ()

Signed-off-by: Kai Kreuzer <kai@openhab.org>
This commit is contained in:
Kai Kreuzer 2022-04-12 09:10:03 +02:00 committed by GitHub
parent 15f67c1457
commit a868111a54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -711,7 +711,7 @@ public class TeslaVehicleHandler extends BaseThingHandler {
sendCommand(COMMAND_WAKE_UP, account.wakeUpTarget);
}
protected synchronized Vehicle queryVehicle() {
protected Vehicle queryVehicle() {
String authHeader = account.getAuthHeader();
if (authHeader != null) {