mirror of
https://github.com/zdharma-continuum/history-search-multi-word
synced 2024-11-22 03:13:09 +00:00
Free memory when exiting widget (the array that holds history is freed)
This commit is contained in:
parent
8347d80f08
commit
faf7208387
1 changed files with 3 additions and 0 deletions
|
@ -251,6 +251,9 @@ if [ "$__hsmw_hcw_call_count" -eq "1" ]; then
|
|||
|
||||
# Full reinitialisation at next call
|
||||
__hsmw_hcw_call_count="0"
|
||||
|
||||
# Free memory
|
||||
__hsmw_hcw_found=( )
|
||||
fi
|
||||
|
||||
# vim:ft=zsh
|
||||
|
|
Loading…
Reference in a new issue