Commit dd5fb47a authored by Hodong Kim's avatar Hodong Kim

Fixed race condition (closes #18)

parent c17f03a2
......@@ -151,6 +151,8 @@ dasom_iteration_until (DasomIM *im,
} while ((im->is_dispatched == FALSE) ||
(im->reply && (im->reply->header->type != type)));
im->is_dispatched = FALSE;
if (G_UNLIKELY (im->reply == NULL))
{
g_critical (G_STRLOC ": %s:Can't receive %s", G_STRFUNC,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment