Commit 6b97933
authored
Merge pull request #112 from andersonpimentel/main
Bugfix on FileInfo disposal
Previously `JsonFileInfo` objects were not correctly disposed when Notepad++ closed.
This could potentially have caused failure of C# to dispose of unmanaged resources.
As noted in my last comment on that PR, this change should not matter in normal usage
because JsonFileInfos are disposed in response to NPPN_FILEBEFORECLOSE notifications,
which fire for each file before NPPN_SHUTDOWN.2 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
0 commit comments