mirror of
https://github.com/neovim/neovim.git
synced 2025-10-09 19:36:40 +00:00
vim-patch:8.1.1484: some tests are slow
Problem: Some tests are slow.
Solution: Add timing to the test messages. Fix double free when quitting in
VimLeavePre autocmd.
75ee544f99
This commit is contained in:
@@ -439,12 +439,12 @@ void eval_clear(void)
|
||||
xfree(SCRIPT_SV(i));
|
||||
ga_clear(&ga_scripts);
|
||||
|
||||
// unreferenced lists and dicts
|
||||
(void)garbage_collect(false);
|
||||
|
||||
// functions need to be freed before gargabe collecting, otherwise local
|
||||
// variables might be freed twice.
|
||||
free_all_functions();
|
||||
|
||||
// unreferenced lists and dicts
|
||||
(void)garbage_collect(false);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user