Skip to content

impr: avoid creating async rpc objects when not connected#35

Merged
eigen-value merged 1 commit intomainfrom
10-improve-threading
Nov 14, 2025
Merged

impr: avoid creating async rpc objects when not connected#35
eigen-value merged 1 commit intomainfrom
10-improve-threading

Conversation

@eigen-value
Copy link
Copy Markdown
Collaborator

fix: connection_id must be mutexd

@eigen-value eigen-value merged commit be23b3a into main Nov 14, 2025
5 checks passed
@eigen-value eigen-value deleted the 10-improve-threading branch November 14, 2025 16:05
Comment thread src/monitor.h

k_mutex_lock(&monitor_mutex, K_FOREVER);

if (!_connected) return;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Beware, mutex remains locked here.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

omg thanks!

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