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
using (FbConnection fbconn = new FbConnection("Database=F:\\fb[30|25].gdb;User ID=SYSDBA;Password=masterkey;Pooling=False"))
{
fbconn.Open();
fbconn.Close();
FbConnection.ClearAllPools();
File\.Delete\("F:\\\\fb30\.gdb"\); //Failed in FB 3\.0\.0 and 3\.0\.1\(x64\) \-\-\> The process cannot access the file 'F:\\\\fb30\.gdb' because it is being used by another process\.
File\.Delete\("F:\\\\fb25\.gdb"\); //Worked in FB 2\.5\.5\(x64\)
}
The text was updated successfully, but these errors were encountered:
I think this is expected. There has never been a guarantee that the file would be immediately released. And given the FB3 changes, I could image couple of milliseconds before the file is released. And now there's also the linger interval in play.
Submitted by: fish (fishcodelib)
using (FbConnection fbconn = new FbConnection("Database=F:\\fb[30|25].gdb;User ID=SYSDBA;Password=masterkey;Pooling=False"))
{
fbconn.Open();
fbconn.Close();
FbConnection.ClearAllPools();
}
The text was updated successfully, but these errors were encountered: