diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-14 12:46:51 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-14 12:46:51 +0200 |
commit | ebf7dfa6f121c82f97d2adca3d45fbaba9ad8f7e (patch) | |
tree | 0b6608049e1b86a10bb179674ed3bf9e41706a15 /src/main.c | |
parent | 700eefe5a4385fd128f5496e3ca384869752376a (diff) | |
download | vim-git-ebf7dfa6f121c82f97d2adca3d45fbaba9ad8f7e.tar.gz |
patch 7.4.1727v7.4.1727
Problem: Cannot detect a crash in tests when caused by garbagecollect().
Solution: Add garbagecollect_for_testing(). Do not free a job if is still
useful.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index dc7b702bd..ee3750003 100644 --- a/src/main.c +++ b/src/main.c @@ -1531,7 +1531,7 @@ getout(int exitval) #endif #ifdef FEAT_EVAL if (garbage_collect_at_exit) - garbage_collect(); + garbage_collect(FALSE); #endif #if defined(WIN32) && defined(FEAT_MBYTE) free_cmd_argsW(); |