From a1a4af4a6365ec6bbdde77532b8369027ea41b44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sun, 21 May 2023 19:24:33 +0200 Subject: =?UTF-8?q?fix:=20Don=E2=80=99t=20delete=20session=20object=20in?= =?UTF-8?q?=20cleanup()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This can cause a crash in libsoup if the session object is still in use. --- nbxmpp/http.py | 1 - 1 file changed, 1 deletion(-) 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: -- cgit v1.2.3