]> granicus.if.org Git - vim/commitdiff
patch 8.0.1628: channel log doesn't mention exiting v8.0.1628
authorBram Moolenaar <Bram@vim.org>
Thu, 22 Mar 2018 19:33:56 +0000 (20:33 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 22 Mar 2018 19:33:56 +0000 (20:33 +0100)
Problem:    Channel log doesn't mention exiting.
Solution:   Add a ch_log() call in getout().

src/main.c
src/version.c

index 61543b171f86424d35325b7e1d8d2c506a50954b..0b0fac60beebd083f66be0e82d4517dc77d14c6b 100644 (file)
@@ -1389,6 +1389,9 @@ getout(int exitval)
     win_T      *wp;
 
     exiting = TRUE;
+#if defined(FEAT_JOB_CHANNEL)
+    ch_log(NULL, "Exiting...");
+#endif
 
     /* When running in Ex mode an error causes us to exit with a non-zero exit
      * code.  POSIX requires this, although it's not 100% clear from the
index 0cc4920669207e26e16f84769f3aa8a183b9469c..dc76b4a34a884dd5f2ed8480a96a676dbb41a48e 100644 (file)
@@ -766,6 +766,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1628,
 /**/
     1627,
 /**/