socket: Avoid g_main_context_ref(NULL) calls using the default context
If (agent->main_context == NULL) the sockets are created with a NULL main context, which they then try to ref. That does not end well.
Showing
Please register or sign in to comment