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: constructor should throw if it fails to initialize #533

Merged
merged 1 commit into from
Apr 17, 2022

Conversation

homuler
Copy link
Owner

@homuler homuler commented Apr 17, 2022

CalculatorGraph(string) cannot initialize an instance if the given config format is invalid, but does not throw currently.

When some instance method is invoked after, it will trigger SIGSEGV and crash the whole application.

@homuler homuler self-assigned this Apr 17, 2022
@homuler homuler merged commit e58408e into master Apr 17, 2022
@homuler homuler deleted the fix/calculator-graph-sigsegv branch May 13, 2022 09:02
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.

None yet

1 participant