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

fix: fix portalocker being deleted before closing the client #421

Merged
merged 3 commits into from
Jan 5, 2024

Conversation

joein
Copy link
Member

@joein joein commented Jan 4, 2024

Sometimes portalocker module being deleted even before deletion of QdrantLocal

In this case when __del__ method in QdrantClient being called, we can already don't have portalocker object and calling unlock on it will cause an error NoneType... #365

Copy link

netlify bot commented Jan 4, 2024

Deploy Preview for poetic-froyo-8baba7 ready!

Name Link
🔨 Latest commit e2534c8
🔍 Latest deploy log https://app.netlify.com/sites/poetic-froyo-8baba7/deploys/659853d36f8f4e00080941b0
😎 Deploy Preview https://deploy-preview-421--poetic-froyo-8baba7.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Comment on lines 67 to 70
except (
TypeError
): # sometimes portalocker module can be garbage collected before QdrantLocal instance
pass
Copy link
Member

Choose a reason for hiding this comment

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

please fix formatiing

@joein joein merged commit ac9b22b into dev Jan 5, 2024
joein added a commit that referenced this pull request Jan 19, 2024
* fix: fix portalocker being deleted before closing the client

* fix: generate async, update comment

* update formatting
@generall generall deleted the fix-portalocker branch May 3, 2024 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants