|
From: Gerdus v. Z. (JIRA) <tr...@fi...> - 2012-01-30 12:33:47
|
Connection pool cleanup timer is executed only once because timer is disposed in worker method
----------------------------------------------------------------------------------------------
Key: DNET-408
URL: http://tracker.firebirdsql.org/browse/DNET-408
Project: .NET Data provider
Issue Type: Bug
Components: ADO.NET Provider
Affects Versions: 2.7
Reporter: Gerdus van Zyl
Assignee: Jiri Cincura
Priority: Minor
Attachments: FbConnectionPool.cs.patch, FbConnectionTests.cs.patch
Expected: after connection pool timeout the connection is closed.
Reality: it is not.
Connection pool cleanup timer is executed only once because timer is disposed in worker method
Patch to comment out the dispose:
Index: Data/FirebirdClient/FbConnectionPool.cs
===================================================================
--- Data/FirebirdClient/FbConnectionPool.cs (revision 53955)
+++ Data/FirebirdClient/FbConnectionPool.cs (working copy)
@@ -314,7 +314,7 @@
}
}
- pool.cleanupTimer.Dispose();
+ //pool.cleanupTimer.Dispose();
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|