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

Conversation

@Lathejockey81
Copy link

Visual Studio crashed after publishing, but the publishing process completed before the crash. The completion.OnNext() subscriber changes the active UI, which disposes the UIController. The subsequent completion?.OnCompleted() call threw an exception because completion is not null, but it is disposed. Since the OnNext subscriber is not evaluating the parameter, I changed the subscriber to respond to the OnCompleted() event instead. This appears to fix the issue.

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.
@shana
Copy link
Contributor

shana commented Jan 12, 2016

Yay race conditions 😢

@shana
Copy link
Contributor

shana commented Jan 12, 2016

I'm going to fix this in a separate PR, as it requires a bit more logic to make sure it doesn't fail. Thanks for the help!

@shana shana closed this Jan 12, 2016
@Lathejockey81 Lathejockey81 deleted the fixes/crash-after-publish branch January 12, 2016 19:24
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