Skip to content

Make nvjpeg handle creation once_flag static #5713

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

Merged
merged 2 commits into from
Mar 31, 2022

Conversation

NicolasHug
Copy link
Member

As properly pointed by @ShiyangZhang, the once_flag var should global (or static), not local #4378 (comment)

For ref, this doesn't change anything to the more global leak issue #4378

@facebook-github-bot
Copy link

facebook-github-bot commented Mar 31, 2022

💊 CI failures summary and remediations

As of commit 63f16d9 (more details on the Dr. CI page):


💚 💚 Looks good so far! There are no failures yet. 💚 💚


This comment was automatically generated by Dr. CI (expand for details).

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Click here to manually regenerate this comment.

Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@NicolasHug NicolasHug merged commit 6db54fb into pytorch:main Mar 31, 2022
facebook-github-bot pushed a commit that referenced this pull request Apr 6, 2022
Reviewed By: NicolasHug

Differential Revision: D35393163

fbshipit-source-id: 339bd0dd1ab3f61d32b154a937a9968bdbd54dbf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants