Disconnecting a client



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

if I use the following code to cleanup an asynchronous http client:

soup_session_abort(session);
g_object_unref(session);

Sometime the code crashes on g_object_unref. soup_session_abort always
works. Is there a clean way how I can sanitize the cleanup of SoupSession?

I use libsoup 2.24.3.

Thanks in advance

Michael
- --
___________________________________________________________________

Michael Bell                        Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482           ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704           Unter den Linden 6
michael bell cms hu-berlin de       D-10099 Berlin
___________________________________________________________________

PGP Fingerprint: 09E4 3D29 4156 2774 0F2C  C643 D8BD 1918 2030 5AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFJx6EG2L0ZGCAwWqsRAk92AJdm++qzupAM1i+7/wKmdM8Ulr30AJwNX9KN
qfPFNd91J2XZJelBKU5cFA==
=HQo+
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]