mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
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:
parent
2f07c1b28a
commit
29c2a270a5
@ -21,5 +21,10 @@ namespace Nikse.SubtitleEdit.Logic.SpellCheck
|
||||
return _hunspell.Suggest(word);
|
||||
}
|
||||
|
||||
~WindowsHunspell()
|
||||
{
|
||||
_hunspell.Dispose();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user