Commit d1c4f261 authored by Max Kellermann's avatar Max Kellermann

event_pipe: use close() instead of xclose()

xclose() aims to be the signal safe version of close(). However during cleanup, this isn't important.
parent 206611e2
......@@ -19,7 +19,6 @@
*/
#include "event_pipe.h"
#include "utils.h"
#include "log.h"
#include <assert.h>
......@@ -104,8 +103,8 @@ void event_pipe_deinit(void)
{
g_mutex_free(event_pipe_mutex);
xclose(event_pipe[0]);
xclose(event_pipe[1]);
close(event_pipe[0]);
close(event_pipe[1]);
}
void
......
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