Skip to content

Commit 58fc3b5

Browse files
fix bug on fileinfo disposal
1 parent 431af77 commit 58fc3b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

JsonToolsNppPlugin/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ static internal void PluginCleanUp()
463463
foreach (string key in keys)
464464
{
465465
JsonFileInfo info = jsonFileInfos[key];
466-
if (info == null || !info.IsDisposed)
466+
if (info == null || info.IsDisposed)
467467
continue;
468468
info.Dispose();
469469
jsonFileInfos.Remove(key);

0 commit comments

Comments
 (0)