From: lvgx Date: Tue, 19 May 2020 16:59:13 +0000 (+0200) Subject: Notify FIFO readers on exit (if any) (#581) X-Git-Tag: v3.2~13 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=0c916ae7b024c961df1ab1797035ee80501f66e3;p=nnn.git Notify FIFO readers on exit (if any) (#581) This allows to close preview windows opened just before exiting nnn. --- diff --git a/src/nnn.c b/src/nnn.c index c5a5e89b..8d6db369 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -7291,6 +7291,7 @@ int main(int argc, char *argv[]) #endif #ifndef NOFIFO + notify_fifo(); if (fifofd != -1) close(fifofd); #endif