Lock .skiko directory using lockfile when unpacking the native binary (#1128)
In the compose hot reload project, we have seen races from multiple tests trying to unpack skiko into the .skiko directory. Currently, the library loading is only synchronized within the project. This MR also adds a .lock file, which has to be locked when modifying the dataDir. Note: This MR also changed the Library.load method from always entering a monitor, to resolving an atomic reference, best case. ## Release Notes ### Fixes - Desktop - Fixed a race condition that occurred when multiple processes attempted to unpack Skiko binary files at startup
Showing
Please register or sign in to comment