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 for removed resources not released #84

Open
meh2481 opened this issue Dec 26, 2023 · 0 comments
Open

File handles for removed resources not released #84

meh2481 opened this issue Dec 26, 2023 · 0 comments
Labels
bug Something isn't working enhancement New feature or request

Comments

@meh2481
Copy link
Member

meh2481 commented Dec 26, 2023

  • Open a level
  • Delete the only scenelayer with an image
  • Clean resources
  • Save
  • Enter the File Manager and attempt to delete the image
  • Note that the image cannot be deleted because the file is in use

The editor should ideally release all file handles after reading in the images, since there's nothing really to keep using them for. It's probably ok to keep the file handle open for images that are active in the level, but if a file is removed from the level there should be no reason to keep the file handle open.

@meh2481 meh2481 added bug Something isn't working enhancement New feature or request labels Dec 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant