Skip to content

fix async call crash#49

Merged
iurimatias merged 2 commits intomasterfrom
fix-async-call-crash
Apr 10, 2026
Merged

fix async call crash#49
iurimatias merged 2 commits intomasterfrom
fix-async-call-crash

Conversation

@dlipicar
Copy link
Copy Markdown
Contributor

@dlipicar dlipicar commented Apr 9, 2026

No description provided.

Copilot AI review requested due to automatic review settings April 9, 2026 22:14
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adjusts async remote method invocation result delivery to avoid crashes caused by releasing the underlying replica before consumers process the returned QVariant.

Changes:

  • Reorders invokeRemoteMethodAsync callback flow to invoke callback(result) before plugin->release().
  • Ensures the replica is still released when the consumer (self) has already been destroyed.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread cpp/logos_api_consumer.cpp
Comment thread cpp/logos_api_consumer.cpp
@iurimatias iurimatias merged commit 2a21637 into master Apr 10, 2026
1 check passed
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.

4 participants