Use g_cancellable_release_fd()

Part of: Bug 591388 - number of GCancellables available is too limited
This commit is contained in:
Benjamin Otte
2009-08-11 15:12:20 +02:00
parent e2c97292c2
commit faae032ad0
3 changed files with 12 additions and 2 deletions

View File

@@ -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)
{