Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File handles aren't closed properly #934

Open
RunDevelopment opened this issue Jun 30, 2024 · 0 comments
Open

File handles aren't closed properly #934

RunDevelopment opened this issue Jun 30, 2024 · 0 comments

Comments

@RunDevelopment
Copy link

I just discovered that DSMS doesn't close file handles properly after loading a map.

I noticed this because I wasn't able to delete a mapbnd from DS3 file until I closed DSMS. The same also happened with a tpfbdt. This is a huge problem for me, because I mainly mod DS3 via a custom program I made that modifies game files for me. So DSMS locking those files completely ruins my workflow...

I'm very certain that this is a resource leak, because the files were still considered in use by the OS even after I unloaded the map in DSMS. I also noticed that which files were considered in use was random. Sometimes it was just a few dozen, sometimes more, and always different files.

I confirmed that this bug is present in versions 1.10 and 1.11.1. Version 1.06 doesn't have the bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant