[SERVER-8151] Don't close persistent handle in mongoFind() Created: 11/Jan/13  Updated: 11/Jul/16  Resolved: 11/Jan/13

Status: Closed
Project: Core Server
Component/s: JavaScript
Affects Version/s: 2.3.2
Fix Version/s: 2.4.0-rc0

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

Operating System: ALL
Participants:

 Description   

No need for a HandleScope here – v8Callback()'s HandleScope will take care of
it. Also, avoid calling Close() on a persistent handle.



 Comments   
Comment by auto [ 11/Jan/13 ]

Author:

{u'date': u'2013-01-11T20:15:55Z', u'email': u'ben.becker@10gen.com', u'name': u'Ben Becker'}

Message: SERVER-8151: avoid using a HandleScope in mongoFind()
Branch: master
https://github.com/mongodb/mongo/commit/0a6d331be5ed7733de344bc41ede34f4a2ae4dd9

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