8000 Initialize all behaviors before accessing elements by Apollon77 · Pull Request #2198 · project-chip/matter.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Initialize all behaviors before accessing elements #2198

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
Jun 26, 2025
Merged

Conversation

Apollon77
Copy link
Collaborator

fixes #2196

Copy link
Contributor
@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

The pull request modifies the Behaviors.ts file to initialize all behaviors before accessing elements, addressing issue #2196. It replaces the .then call with MaybePromise.then to ensure proper initialization order.

Copy link
Contributor

Warning

There is an error in the Gemini Code Assist config file for this repository at .gemini/config.yaml and the configuration cannot be used until the file is fixed.

@Apollon77 Apollon77 added the automerge Set this label if the PR is ready to automatically merged after approval label Jun 26, 2025
@mergify mergify bot merged commit fc3a84c into main Jun 26, 2025
41 checks passed
@mergify mergify bot deleted the behavior-init-fix branch June 26, 2025 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Set this label if the PR is ready to automatically merged after approval review - approved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash on server.add(aggregator) with 0.15.0-alpha.0-20250625-c7634df96
2 participants
0