Skip to content

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

Merged
egonw merged 2 commits into
mainfrom
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 into
mainfrom
inchi-api-fix

Conversation

@johnmay

@johnmay johnmay commented Apr 22, 2025

Copy link
Copy Markdown
Member

No description provided.

@egonw
egonw self-requested a review April 22, 2025 11:59

@egonw egonw left a comment

Copy link
Copy Markdown
Member

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

johnmay commented Apr 22, 2025

Copy link
Copy Markdown
Member Author

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

johnmay commented Apr 22, 2025

Copy link
Copy Markdown
Member Author

But yes uncovers a concurrency problem of sorts..

@egonw
egonw merged commit ffa903d into main Apr 22, 2025
@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