Skip to content

We need a static variable to be able to use it from a static context.#1186

Merged
egonw merged 2 commits intomainfrom
inchi-api-fix
Apr 22, 2025
Merged

We need a static variable to be able to use it from a static context.#1186
egonw merged 2 commits intomainfrom
inchi-api-fix

Conversation

@johnmay
Copy link
Copy Markdown
Member

@johnmay johnmay commented Apr 22, 2025

No description provided.

@egonw egonw self-requested a review April 22, 2025 11:59
Copy link
Copy Markdown
Member

@egonw egonw left a comment

Choose a reason for hiding this comment

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

This introduces or uncovers a concurrency problem, is seems?

…d to update the test for the deprecated usage
@johnmay
Copy link
Copy Markdown
Member Author

johnmay commented Apr 22, 2025

OK should be fixed, please look carefully there is a behaviour change but the code was a bit wonky before hand. The non-static field ignoreAromaticBonds was used in a static context.

@sonarqubecloud
Copy link
Copy Markdown

@johnmay
Copy link
Copy Markdown
Member Author

johnmay commented Apr 22, 2025

But yes uncovers a concurrency problem of sorts..

@egonw egonw merged commit ffa903d into main Apr 22, 2025
10 of 11 checks passed
@johnmay johnmay deleted the inchi-api-fix branch March 3, 2026 13:52
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