Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Conversation

shana
Copy link
Contributor

@shana shana commented Jan 12, 2016

See #188

Ryoga81 and others added 2 commits January 12, 2016 09:29
Visual Studio crashed after publishing, but the publishing process
completed before the crash. A call was made to a disposed object after
the view changed, causing the disposal.
The `ListenToCompletionState` subscription was triggering a navigation
request on the `Next` callback. Depending on how fast VS responds, this
can cause the Sync section to be disposed, along with the `UIController`
instance, before the handler returns, which would cause `UIController`
to crash.

Make sure we only navigate away once the `ListenToCompletionState`
observable is completed, and also tweak the way `Dispose` happens in
`UIController` to minimize races.
haacked added a commit that referenced this pull request Jan 12, 2016
Fix race condition causing crash in Publish form
@haacked haacked merged commit e4cf04c into master Jan 12, 2016
@haacked haacked deleted the fixes/crash-after-publish branch January 12, 2016 19:11
@haacked
Copy link
Contributor

haacked commented Jan 12, 2016

✨ Nice catch!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants