You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When newing an H3Core instance, the function copies the dynamic library from resources to a temporary file in order to load the libraries and reuses the original temporary file for newing instances later.
In the event that the temporary file is deleted, creating new instances always crashes with no way to recover.
I suggest we add a file existence check to the existing file path and recreate if needed.
The text was updated successfully, but these errors were encountered:
I think adding a file existence check makes sense. There will still be a race condition where the file is determined to exist and then is deleted (unless catching the file not found exception)
When newing an H3Core instance, the function copies the dynamic library from resources to a temporary file in order to load the libraries and reuses the original temporary file for newing instances later.
In the event that the temporary file is deleted, creating new instances always crashes with no way to recover.
I suggest we add a file existence check to the existing file path and recreate if needed.
The text was updated successfully, but these errors were encountered: