diff options
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 906d8bd5e..6bd9ff4a5 100644 --- a/src/main.c +++ b/src/main.c @@ -1334,6 +1334,10 @@ getout(exitval) #ifdef FEAT_CSCOPE cs_end(); #endif +#ifdef FEAT_EVAL + if (garbage_collect_at_exit) + garbage_collect(); +#endif mch_exit(exitval); } |