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 possible crash when starting shell integration #11288

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Conversation

erikjv
Copy link
Collaborator

@erikjv erikjv commented Oct 12, 2023

The shell integration was started while the folder manager was being instantiated. It could happen that callbacks came in when this was not yet completed, resulting in a crash when calling back into the (incomplete) folder manager.

Now shell integration is started after all other startup work has been completed.

Fixes: #11280

@erikjv erikjv requested a review from TheOneRing October 12, 2023 16:04
@erikjv erikjv self-assigned this Oct 12, 2023
@erikjv erikjv changed the base branch from master to 5 October 12, 2023 16:04
@erikjv erikjv requested a review from fmoc October 12, 2023 16:05
Copy link
Contributor

@TheOneRing TheOneRing left a comment

Choose a reason for hiding this comment

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

Please add a changelog entry

The shell integration was started while the folder manager was being
instantiated. It could happen that callbacks came in when this was not
yet completed, resulting in a crash when calling back into the
(incomplete) folder manager.

Now shell integration is started after all other startup work has been
completed.

Fixes: #11280
@erikjv erikjv force-pushed the work/fix-socketapi-crash branch from cdbfd51 to ece3eec Compare October 16, 2023 13:54
@erikjv erikjv requested a review from TheOneRing October 16, 2023 14:13
fmoc
fmoc previously approved these changes Oct 16, 2023
changelog/unreleased/11288 Outdated Show resolved Hide resolved
@fmoc fmoc dismissed TheOneRing’s stale review October 16, 2023 15:20

Requested change was implemented

@fmoc fmoc enabled auto-merge (squash) October 16, 2023 15:21
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@fmoc fmoc merged commit a1f208e into 5 Oct 17, 2023
@fmoc fmoc deleted the work/fix-socketapi-crash branch October 17, 2023 10:03
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.

QList<T>::const_iterator::{ctor}
3 participants