Properly close the fd and only unlink fifo
このコミットが含まれているのは:
コミット
4bee0474a0
|
@ -803,9 +803,11 @@ void cleanup(void) {
|
|||
zwlr_layer_shell_v1_destroy(shell);
|
||||
if (output_manager)
|
||||
zxdg_output_manager_v1_destroy(output_manager);
|
||||
if (fifo_fd)
|
||||
close(fifo_fd);
|
||||
if (fifo_path) {
|
||||
unlink(fifo_path);
|
||||
remove(fifo_path);
|
||||
free(fifo_path);
|
||||
}
|
||||
if (display)
|
||||
wl_display_disconnect(display);
|
||||
|
|
読み込み中…
新しいイシューから参照