Commit 1ecfae6a authored by Alexander Larsson's avatar Alexander Larsson

Remove close in finalize, we do it in dispose

This is not needed, and in fact it may be a bad idea to call
it from finalize anyway since the object isn't fully alive then.
parent 2bbb8563
......@@ -94,9 +94,6 @@ g_input_stream_finalize (GObject *object)
GInputStream *stream;
stream = G_INPUT_STREAM (object);
if (!stream->priv->closed)
g_input_stream_close (stream, NULL, NULL);
G_OBJECT_CLASS (g_input_stream_parent_class)->finalize (object);
}
......
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