Skip to content

Commit fccd7d1

Browse files
committed
Fixed condition.
1 parent 6a61efd commit fccd7d1

File tree

1 file changed

+1
-1
lines changed
  • Provider/src/FirebirdSql.Data.FirebirdClient/Client/Native

1 file changed

+1
-1
lines changed

Provider/src/FirebirdSql.Data.FirebirdClient/Client/Native/FesDatabase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ public void Detach()
236236
throw IscException.ForErrorCodeIntParam(IscCodes.isc_open_trans, TransactionCount);
237237
}
238238

239-
if (!_handle.IsClosed)
239+
if (!_handle.IsInvalid)
240240
{
241241
ClearStatusVector();
242242

0 commit comments

Comments
 (0)