Adding dispose of hunspell to prevent memory leak - thx aMvEL :)

git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@728 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
niksedk 2011-10-16 19:41:56 +00:00
parent 2f07c1b28a
commit 29c2a270a5

View File

@ -21,5 +21,10 @@ namespace Nikse.SubtitleEdit.Logic.SpellCheck
return _hunspell.Suggest(word);
}
~WindowsHunspell()
{
_hunspell.Dispose();
}
}
}