Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SoupSocket: if :use-thread-context, hold a ref on it
If :use-thread-context is set on a socket, then hold a ref on the thread-default GMainContext for the life of the socket. In particular, this fixes a race condition in the test-utils server code that sometimes shows up in context-test. https://bugzilla.gnome.org/show_bug.cgi?id=744862
- Loading branch information
1 parent
21a213b
commit 55bfb80
Showing
1 changed file
with
18 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters