thane98 / paragon

Toolkit for editing various FE games.
GNU General Public License v3.0
54 stars 17 forks source link

Incorrect behavior when modules cannot attach to archives #21

Closed thane98 closed 3 years ago

thane98 commented 4 years ago

Imagine that two modules target the same file. The first module attaches to the file without any issues. The second fails to attach correctly.

Currently, Paragon closes the target file when this happens to avoid leaking memory. However, this makes it impossible for other modules that target that file to save changes. Ideally, Paragon should keep the file open if another module already attached to the file without any issues.