diff --git a/commlib/endpoints.py b/commlib/endpoints.py index 03e7724..bb2f027 100644 --- a/commlib/endpoints.py +++ b/commlib/endpoints.py @@ -118,7 +118,10 @@ def stop(self) -> None: f"Transport is not connected - cannot stop {self.__class__.__name__}") def __del__(self): - self.stop() + try: + self.stop() + except: + pass class EndpointType(Enum):