event_pipe: use close() instead of xclose()
xclose() aims to be the signal safe version of close(). However during cleanup, this isn't important.
This commit is contained in:
parent
206611e280
commit
d1c4f261c8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user