Closed GeBo1 closed 2 years ago
Better to dispose in the game exit event.
That doesn't fix maker exit hanging (and I tried disposing in maker exit event and couldn't make it work). I haven't really tested with the in-game maker or other scenes in game where you select cards yet, since disabling it worked.
Already solved.
Not sure when this started, but it's not just in the latest version.
Steps to recreate in KK main game:
This is caused by
FileSystemWatcher
, so easy/temporary fix is makeInitFileSystemWatcher
just return without doing anything, auto-updating will be disabled, but everything else will work fine.FileSystemWatcher
isIDisposable
so any classes storing one as a member needs to also beIDisposable
and correctly implement the disposal pattern, and so on up the object tree, butFolderTreeView
is kept as a static on most classes, which complicates things.Probably best to disable the auto-refresh until it's worked out.