[JAVA-614] Eliminate object retention on error condition in DBTCPConnector#call Created: 31/Jul/12  Updated: 29/Aug/12  Resolved: 31/Jul/12

Status: Closed
Project: Java Driver
Component/s: Performance
Affects Version/s: None
Fix Version/s: 2.9.0

Type: Bug Priority: Major - P3
Reporter: Jeffrey Yemin Assignee: Jeffrey Yemin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

OutMessage#doneWithMessage is not called if there is an exception thrown in DBTCPConnector#call. It's only called if the method completes normally. Easily fixed with a try/finally.



 Comments   
Comment by Jeffrey Yemin [ 29/Aug/12 ]

Closing as part of 2.9.0 release process.

Comment by auto [ 31/Jul/12 ]

Author:

{u'date': u'2012-07-31T05:19:44-07:00', u'email': u'jeff.yemin@10gen.com', u'name': u'Jeff Yemin'}

Message: JAVA-614: Move fall to OutMessage#doneWithMessage to finally block in DBTCPConnector#call
Branch: master
https://github.com/mongodb/mongo-java-driver/commit/999fc107b2533f88417b7b95212efefd0ff442c3

Generated at Thu Feb 08 08:52:41 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.