We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fc62b9 commit f8e68d5Copy full SHA for f8e68d5
Provider/src/FirebirdSql.Data.FirebirdClient/Common/ShutdownHelper.cs
@@ -47,14 +47,14 @@ internal static void RegisterFbClientShutdown(Action item)
47
48
static void HandleDomainUnload()
49
{
50
- foreach (var item in _pools)
+ while (_pools.TryTake(out var item))
51
item();
52
}
53
54
static void HandleProcessShutdown()
55
56
HandleDomainUnload();
57
- foreach (var item in _fbClients)
+ while (_fbClients.TryTake(out var item))
58
59
60
0 commit comments