diff --git a/src/Logic/Spellcheck/WindowsHunspell.cs b/src/Logic/Spellcheck/WindowsHunspell.cs index e9d25d73a..aa5626343 100644 --- a/src/Logic/Spellcheck/WindowsHunspell.cs +++ b/src/Logic/Spellcheck/WindowsHunspell.cs @@ -21,5 +21,10 @@ namespace Nikse.SubtitleEdit.Logic.SpellCheck return _hunspell.Suggest(word); } + ~WindowsHunspell() + { + _hunspell.Dispose(); + } + } }