Commit 401dd6d3 authored by Olivier Crête's avatar Olivier Crête Committed by Olivier Crête

test-io-stream-common: Remove io_stream pointer when removing stream

parent 2f17376e
...@@ -538,6 +538,7 @@ check_for_termination (TestIOStreamThreadData *data, gsize *recv_count, ...@@ -538,6 +538,7 @@ check_for_termination (TestIOStreamThreadData *data, gsize *recv_count,
/* Remove the stream and run away. */ /* Remove the stream and run away. */
nice_agent_remove_stream (data->agent, stream_id); nice_agent_remove_stream (data->agent, stream_id);
g_object_set_data (G_OBJECT (data->agent), "stream-id", GUINT_TO_POINTER (0)); g_object_set_data (G_OBJECT (data->agent), "stream-id", GUINT_TO_POINTER (0));
g_clear_object (&data->io_stream);
data->done = TRUE; data->done = TRUE;
if (data->other->done) if (data->other->done)
......
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