mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-10-27 22:42:38 +01:00
Fixed possible crash in commit r728
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@746 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
8212588bde
commit
f97cc5898e
@ -23,7 +23,8 @@ namespace Nikse.SubtitleEdit.Logic.SpellCheck
|
||||
|
||||
~WindowsHunspell()
|
||||
{
|
||||
_hunspell.Dispose();
|
||||
if (_hunspell != null && !_hunspell.IsDisposed)
|
||||
_hunspell.Dispose();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user