aboutsummaryrefslogtreecommitdiffstats
path: root/src/event_pipe.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/event_pipe.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event_pipe.c b/src/event_pipe.c
index af6517cd4..286256f96 100644
--- a/src/event_pipe.c
+++ b/src/event_pipe.c
@@ -116,7 +116,10 @@ void event_pipe_deinit(void)
g_source_remove(event_pipe_source_id);
g_io_channel_unref(event_channel);
+#ifndef WIN32
+ /* By some strange reason this call hangs on Win32 */
close(event_pipe[0]);
+#endif
close(event_pipe[1]);
}