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

Relax check against setting a pre-init property after initialization #404

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

marktsuchida
Copy link
Member

Before this change: Setting a pre-init property after initialization is an error.

After this change: Setting a pre-init property after initialization is an error if Core feature StrictInitializationChecks is enabled. Otherwise it is a warning.

Bump MMCore version to 11.1.1.

(We probably need to special case SerialManager ports, to allow port scanning to work. But for now remove the error for all devices to give us time to decide what exactly needs to be allowed.)

Related to: #384 (comment)

Before this change: Setting a pre-init property after initialization is
an error.

After this change: Setting a pre-init property after initialization is
an error if Core feature StrictInitializationChecks is enabled.
Otherwise it is a warning.

Bump MMCore version to 11.1.1.
@marktsuchida marktsuchida merged commit d83430d into main Nov 10, 2023
@marktsuchida marktsuchida deleted the relax-setting-preinit-property-post-init branch November 10, 2023 22:24
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.

1 participant