Skip to content

Conversation

bjori
Copy link
Contributor

@bjori bjori commented Nov 19, 2015

There is a known memory leak in mongoc, see https://jira.mongodb.org/browse/CDRIVER-1017

Reverse the logic -- The return value of the check_closed handler is true if the stream is _closed_
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this was ever actually used to signal failure, so it was removed

@derickr
Copy link
Contributor

derickr commented Nov 20, 2015

I am closing this in favour of #141, as that already had some work done towards the changes in this PR.

(You might also want to rename your forked repo from mongo-php-driver-prototype to mongo-php-driver, as I got confused when pulling in the legacy commits while cherry picking your commits :-) )

@derickr derickr closed this Nov 20, 2015
@bjori
Copy link
Contributor Author

bjori commented Nov 20, 2015

I actually confused my self to when I couldn't find my changes on github.com/bjori/mongo-php-driver -- finally figuring it was the legacy driver haha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants