Skip to content

Conversation

@SeraphimaZykova
Copy link
Contributor

Summary of the Pull Request

What is this about:

The crash always happens at System.AppContext.OnProcessExit(). It could be caused by not properly closing windows or disposing of controls.
In case of a crash happens on the editor start, there could be another reason for closing the editor, such as incorrect settings, and after closing, the crash happened. We only have the last error message saved. So for this type of problem logger could help to investigate.

What is include in the PR:

  • Replaced anonymous methods capturing class members.
  • Called Dispose of App.
  • Stopped thread.

How does someone test / validate:

Quality Checklist

  • Linked issue: [FancyZones Editor] Editor crash on launch #13105
  • Communication: I've discussed this with core contributors in the issue.
  • Tests: Added/updated and all pass
  • Installer: Added/updated and all pass
  • Localization: All end user facing strings can be localized
  • Docs: Added/ updated
  • Binaries: Any new files are added to WXS / YML

Contributor License Agreement (CLA)

A CLA must be signed. If not, go over here and sign the CLA.

@stefansjfw
Copy link
Contributor

stefansjfw commented Oct 21, 2021

/azp run

Build failed initially

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@microsoft microsoft deleted a comment from azure-pipelines bot Oct 21, 2021
Copy link
Contributor

@jaimecbernardo jaimecbernardo left a comment

Choose a reason for hiding this comment

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

Waiting for things to finish before exiting.
Rubberstamp LGTM!

@SeraphimaZykova SeraphimaZykova force-pushed the 13105-fancyzones-editor-crash branch from 6baae04 to f186ac4 Compare October 25, 2021 09:04
@SeraphimaZykova SeraphimaZykova merged commit ce942b0 into microsoft:master Oct 25, 2021
@SeraphimaZykova SeraphimaZykova deleted the 13105-fancyzones-editor-crash branch October 25, 2021 10:05
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.

3 participants