diff options
author | Philipp Hörist <philipp@hoerist.com> | 2023-05-21 20:24:33 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2023-05-21 20:24:33 +0300 |
commit | a1a4af4a6365ec6bbdde77532b8369027ea41b44 (patch) | |
tree | f9ad34f9828274cc472d46248c60698364a807b3 | |
parent | 8560544bc0aedee6c2a279d615c266bdf94da8fb (diff) |
fix: Don’t delete session object in cleanup()
This can cause a crash in libsoup if the session object is still
in use.
-rw-r--r-- | nbxmpp/http.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nbxmpp/http.py b/nbxmpp/http.py index e44255c..27cf4fa 100644 --- a/nbxmpp/http.py +++ b/nbxmpp/http.py @@ -539,7 +539,6 @@ class HTTPRequest(GObject.GObject): self._message.run_dispose() del self._cancellable - del self._session del self._user_data if self._timeout_id is not None: |