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
This is expected - in order to delete the Realm file, we need to acquire multiprocess lock. Unfortunately, acquiring the lock implicitly creates the file. If you want to avoid this, you could check if the file exists before deleting it:
What happened?
Hello!
Not a big issue, but just noticed that calling Realm.DeleteRealm() on a (non-existent) Realm creates its corresponding lock file.
I understand DeleteRealm() doesn't delete lock files (although unsure why) but it seems strange to create a lock file for a Realm that doesn't exist.
Of course it's easy to work around in the app, but thought I'd raise it anyway.
Hope this helps.
Repro steps
NOTE: Config points to "Test.realm"
Version
11.7.0
What Atlas Services are you using?
Local Database only
What type of application is this?
Unity
Client OS and version
WIndows 10 (22H2)
Code snippets
No response
Stacktrace of the exception/crash you're getting
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: