From c34fc41f56462d67284a75fc3335b21eac20a937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adolfo=20G=C3=B3mez=20Garc=C3=ADa?= Date: Wed, 17 Aug 2022 14:55:33 +0200 Subject: [PATCH] unmanaged fix --- actor/src/udsactor/client.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/actor/src/udsactor/client.py b/actor/src/udsactor/client.py index 45c7dc375..15896eb2c 100644 --- a/actor/src/udsactor/client.py +++ b/actor/src/udsactor/client.py @@ -198,12 +198,8 @@ class UDSActorClient(threading.Thread): # pylint: disable=too-many-instance-att time.sleep(1.3) # Sleeps between loop iterations - # If login was recognized... - if self._loginInfo.logged_in: - self.api.logout(user + self._extraLogoff, sessionType) - logger.info('Notified logout for %s (%s)', user, sessionType) # Log logout - else: - logger.info('Logout not notified for %s (%s)', user, sessionType) # Log logout + self.api.logout(user + self._extraLogoff, sessionType) + logger.info('Notified logout for %s (%s)', user, sessionType) # Log logout # Clean up login info self._loginInfo = None