mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +00:00
vim-patch:7.4.1868
Problem: Setting really_exiting causes memory leaks to be reported.
Solution: Add the in_free_all_mem flag.
b89a25f17e
This commit is contained in:
@@ -636,6 +636,10 @@ EXTERN int exiting INIT(= FALSE);
|
||||
/* TRUE when planning to exit Vim. Might
|
||||
* still keep on running if there is a changed
|
||||
* buffer. */
|
||||
#if defined(EXITFREE)
|
||||
// true when in or after free_all_mem()
|
||||
EXTERN bool entered_free_all_mem INIT(= false);
|
||||
#endif
|
||||
/* volatile because it is used in signal handler deathtrap(). */
|
||||
EXTERN volatile int full_screen INIT(= FALSE);
|
||||
/* TRUE when doing full-screen output
|
||||
|
Reference in New Issue
Block a user