mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
viml/profile: fix issue where profile is not reset on stop
This commit is contained in:
parent
861aade680
commit
949783fdfa
@ -1038,7 +1038,7 @@ static void profile_reset(void)
|
||||
if (!HASHITEM_EMPTY(hi)) {
|
||||
n--;
|
||||
ufunc_T *uf = HI2UF(hi);
|
||||
if (uf->uf_profiling) {
|
||||
if (uf->uf_prof_initialized) {
|
||||
uf->uf_profiling = 0;
|
||||
uf->uf_tm_count = 0;
|
||||
uf->uf_tm_total = profile_zero();
|
||||
|
Loading…
Reference in New Issue
Block a user