Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure no MongoDB driver classes are serialized #63

Merged
merged 1 commit into from
Feb 14, 2016

Conversation

alcaeus
Copy link
Owner

@alcaeus alcaeus commented Feb 14, 2016

This adds __sleep methods to all classes that contain MongoDB driver classes to ensure no driver classes are being serialized. This will break those objects when unserializing them but it's the only thing possible to prevent fatal errors on serialization.

@alcaeus alcaeus added the bug label Feb 14, 2016
@alcaeus alcaeus added this to the 1.0 milestone Feb 14, 2016
alcaeus added a commit that referenced this pull request Feb 14, 2016
Ensure no MongoDB driver classes are serialized
@alcaeus alcaeus merged commit dd447d3 into master Feb 14, 2016
@alcaeus alcaeus deleted the fix-serialization-issues branch February 14, 2016 10:09
@alcaeus alcaeus modified the milestones: 1.0.0-BETA1, 1.0.0 Feb 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant