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
Even if I just make a barebones code like this, without reading or writing any data, it won't delete the db file.
It throws System.IO.IOException : Sharing violation on path ...
SQLiteConnection db = new SQLiteConnection(CwConstants.GetDbPath());
db.Close();
db.Dispose();
GC.Collect();
Thread.Sleep(100);
File.Delete(CwConstants.GetDbPath());
This is within a Play mode Unit test in the Editor.
I've added GC code / sleep just in case, but no effect.
Thanks!
The text was updated successfully, but these errors were encountered:
Even if I just make a barebones code like this, without reading or writing any data, it won't delete the db file.
It throws System.IO.IOException : Sharing violation on path ...
This is within a Play mode Unit test in the Editor.
I've added GC code / sleep just in case, but no effect.
Thanks!
The text was updated successfully, but these errors were encountered: