Browse Source

Notify FIFO readers on exit (if any) (#581)

This allows to close preview windows opened just before exiting nnn.
master
lvgx GitHub 4 years ago
parent
commit
0c916ae7b0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/nnn.c

+ 1
- 0
src/nnn.c View File

@@ -7291,6 +7291,7 @@ int main(int argc, char *argv[])
#endif

#ifndef NOFIFO
notify_fifo();
if (fifofd != -1)
close(fifofd);
#endif


Loading…
Cancel
Save