From 89aed3754d389306657d39e9decc04d1156f15c4 Mon Sep 17 00:00:00 2001 From: Afonso Garcia Date: Fri, 4 Oct 2024 15:17:48 +0100 Subject: [PATCH] Remove stop from push receiver as it no longer exists --- pyproject.toml | 2 +- src/bluecon/BlueConAPI.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 6d373d7..bd83a8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "bluecon" -version = "0.4.2" +version = "0.4.3" authors = [ { name="Afonso Garcia", email="bluecon@afonsogarcia.dev" }, ] diff --git a/src/bluecon/BlueConAPI.py b/src/bluecon/BlueConAPI.py index bde6130..c4aad14 100644 --- a/src/bluecon/BlueConAPI.py +++ b/src/bluecon/BlueConAPI.py @@ -213,7 +213,6 @@ def on_notification(blueConAPIClient: BlueConAPI, notification: dict, data_messa self.__listenerThread.start() async def stopNotificationListener(self) -> bool: - self.receiver.stop() self.__listenerThread.join(10.0) await self.registerAppToken(False) return self.__listenerThread.is_alive()