Skip to content

Commit

Permalink
Clean up headers on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
bradtgmurray committed Feb 1, 2024
1 parent 3d65bc8 commit da06ec3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions linkedin_matrix/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit da06ec3

Please sign in to comment.