mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 15:03:39 +02:00
Use g_cancellable_release_fd()
Part of: Bug 591388 - number of GCancellables available is too limited
This commit is contained in:
@@ -333,6 +333,7 @@ g_unix_output_stream_write (GOutputStream *stream,
|
||||
do
|
||||
poll_ret = g_poll (poll_fds, 2, -1);
|
||||
while (poll_ret == -1 && errno == EINTR);
|
||||
g_cancellable_release_fd (cancellable);
|
||||
|
||||
if (poll_ret == -1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user