Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/python-nbxmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2023-05-21 20:24:33 +0300
committerPhilipp Hörist <philipp@hoerist.com>2023-05-21 20:24:33 +0300
commita1a4af4a6365ec6bbdde77532b8369027ea41b44 (patch)
treef9ad34f9828274cc472d46248c60698364a807b3
parent8560544bc0aedee6c2a279d615c266bdf94da8fb (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.py1
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: