launcher
launcher copied to clipboard
[BUG] Crash when importing curation while file is in use
When I import a curation while one of its files is open / in use, the launcher crashes on a blank screen.
To Reproduce
- Make a curation
- Open an SWF from the curation in JPEXS
- Import the curation
Desktop (please complete the following information):
- OS: Windows 10 64-bit
- Flashpoint Version: Core 8.2
- Launcher Version: 9.0.3
- Console output is below:
Error: EBUSY: resource busy or locked, rmdir 'Flashpoint Core 5.1\Curations\Working\065f79e2-4a03-4a40-9e9d-6dba21210ed3\content\localflash\tfu2ce'
at Object.rmdirSync (fs.js:752)
at rmdirSync (rimraf.js?fb2a:276)
at rimrafSync (rimraf.js?fb2a:252)
at eval (rimraf.js?fb2a:291)
at Array.forEach (<anonymous>)
at rmkidsSync (rimraf.js?fb2a:291)
at rmdirSync (rimraf.js?fb2a:281)
at rimrafSync (rimraf.js?fb2a:252)
at eval (rimraf.js?fb2a:291)
at Array.forEach (<anonymous>)
Ci @ react-dom.production.min.js?ca5d:209
fs.js:752 Uncaught (in promise) Error: EBUSY: resource busy or locked, rmdir 'Flashpoint Core 5.1\Curations\Working\065f79e2-4a03-4a40-9e9d-6dba21210ed3\content\localflash\tfu2ce'
at Object.rmdirSync (fs.js:752)
at rmdirSync (rimraf.js?fb2a:276)
at rimrafSync (rimraf.js?fb2a:252)
at eval (rimraf.js?fb2a:291)
at Array.forEach (<anonymous>)
at rmkidsSync (rimraf.js?fb2a:291)
at rmdirSync (rimraf.js?fb2a:281)
at rimrafSync (rimraf.js?fb2a:252)
at eval (rimraf.js?fb2a:291)
at Array.forEach (<anonymous>)