mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-19 21:39:57 +00:00
Remove pipe file during cleanup
This commit is contained in:
parent
a5d73ba07e
commit
51c264d901
1 changed files with 2 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#include <sys/inotify.h>
|
||||
#endif
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#else
|
||||
#error "Operating system not detected."
|
||||
#endif
|
||||
|
|
@ -43,6 +44,7 @@ static volatile int message_len = 0;
|
|||
void cleanup_pipe()
|
||||
{
|
||||
unlink(PIPE_PATH);
|
||||
remove(PIPE_PATH);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue