From 19009cc1ee7d7d5ed2153d3708169e9d5b24115b Mon Sep 17 00:00:00 2001 From: zariiii9003 <52598363+zariiii9003@users.noreply.github.com> Date: Fri, 26 May 2023 23:01:04 +0200 Subject: [PATCH] fix IXXAT not properly shut down message --- can/interfaces/ixxat/canlib_vcinpl.py | 1 + can/interfaces/ixxat/canlib_vcinpl2.py | 1 + 2 files changed, 2 insertions(+) diff --git a/can/interfaces/ixxat/canlib_vcinpl.py b/can/interfaces/ixxat/canlib_vcinpl.py index cbf2fb61c..1bb0fd802 100644 --- a/can/interfaces/ixxat/canlib_vcinpl.py +++ b/can/interfaces/ixxat/canlib_vcinpl.py @@ -825,6 +825,7 @@ def _send_periodic_internal( ) def shutdown(self): + super().shutdown() if self._scheduler is not None: _canlib.canSchedulerClose(self._scheduler) _canlib.canChannelClose(self._channel_handle) diff --git a/can/interfaces/ixxat/canlib_vcinpl2.py b/can/interfaces/ixxat/canlib_vcinpl2.py index 2e6e9ad8e..b10ac1b94 100644 --- a/can/interfaces/ixxat/canlib_vcinpl2.py +++ b/can/interfaces/ixxat/canlib_vcinpl2.py @@ -972,6 +972,7 @@ def _send_periodic_internal( ) def shutdown(self): + super().shutdown() if self._scheduler is not None: _canlib.canSchedulerClose(self._scheduler) _canlib.canChannelClose(self._channel_handle)