Skip to content

WT-14441: Avoid segfault on WApplication::setAsFocus during destruction#244

Open
m-seibt wants to merge 1 commit intoemweb:masterfrom
m-seibt:fix/sf_on_setfocus_in_dtor
Open

WT-14441: Avoid segfault on WApplication::setAsFocus during destruction#244
m-seibt wants to merge 1 commit intoemweb:masterfrom
m-seibt:fix/sf_on_setfocus_in_dtor

Conversation

@m-seibt
Copy link
Copy Markdown
Contributor

@m-seibt m-seibt commented Mar 26, 2026

  • generally set quitted_ first in ~WApplication
  • WApplication::setAsFocus:
    • check all used pointers before use
    • bail out if the application has quit

Resolves https://redmine.emweb.be/issues/14441

during destruction and generally set quitted_ first on destruction
@RomainMard
Copy link
Copy Markdown

Thanks for the pull request,

this will be fixed in the next release.

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