After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 667364 - don't queue idles when finalizing SoupSession
don't queue idles when finalizing SoupSession
Status: RESOLVED FIXED
Product: libsoup
Classification: Core
Component: Misc
unspecified
Other Linux
: Normal normal
: ---
Assigned To: libsoup-maint@gnome.bugs
libsoup-maint@gnome.bugs
Depends on:
Blocks:
 
 
Reported: 2012-01-05 15:00 UTC by Dan Winship
Modified: 2012-02-14 03:12 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Winship 2012-01-05 15:00:28 UTC
Currently if you finalize a SoupSessionAsync while it still has persistent connections open, it will end up queueing an idle (which will then run, notice that the session has been destroyed, and then immediately exit). But this can cause problems if you unref the session from a thread other than the one it was created in, which is surprising. And there's no point in doing the idle handlers there anyway, so we should fix that.

(qv bug 665801)
Comment 1 Dan Winship 2012-02-14 03:12:32 UTC
fixed in git