mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-28 05:02:10 +01:00
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.
This commit is contained in:
parent
2bbb85633f
commit
1ecfae6a71
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user