From da06ec3b20ac2717d567d047bf31eb46a69e070a Mon Sep 17 00:00:00 2001 From: Brad Murray Date: Thu, 1 Feb 2024 10:18:18 -0500 Subject: [PATCH] Clean up headers on logout --- linkedin_matrix/user.py | 1 + 1 file changed, 1 insertion(+) diff --git a/linkedin_matrix/user.py b/linkedin_matrix/user.py index fcbe9c7..ab3f533 100644 --- a/linkedin_matrix/user.py +++ b/linkedin_matrix/user.py @@ -312,6 +312,7 @@ async def logout(self): except KeyError: pass await Cookie.delete_all_for_mxid(self.mxid) + await HttpHeader.delete_all_for_mxid(self.mxid) self._track_metric(METRIC_LOGGED_IN, True) self.client = None self.listener_event_handlers_created = False