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 ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Firebird-net-provider mailing list Firebird-net-provider@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/firebird-net-provider