This repository was archived by the owner on Oct 4, 2021. It is now read-only.
Handles disposed windows when they are closed while checking windows loop#9109
Open
Handles disposed windows when they are closed while checking windows loop#9109
Conversation
Therzok
suggested changes
Oct 28, 2019
Contributor
Therzok
left a comment
There was a problem hiding this comment.
This looks like a hack and not a real fix.
Therzok
reviewed
Oct 29, 2019
main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/WindowCommands.cs
Show resolved
Hide resolved
Contributor
Author
|
@monojenkins rebase |
f6b2f01 to
3d51fd4
Compare
Therzok
approved these changes
Dec 3, 2019
Contributor
Author
|
@monojenkins rebase |
c65b8d6 to
78dd318
Compare
Contributor
Author
|
@monojenkins rebase |
78dd318 to
f9d633f
Compare
Contributor
Author
|
rebased! |
Therzok
reviewed
Jan 15, 2020
main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/WindowCommands.cs
Outdated
Show resolved
Hide resolved
Contributor
|
@monojenkins rebase |
f1bbf8f to
d5b6608
Compare
Contributor
|
Looks like a problem with the code. The build error is:
WindowCommands is using Exception but does not have a |
…ed exceptions Fixes VSTS #999372 - System.ObjectDisposedException exception in Foundation.NSObject.get_SuperHandle()
Contributor
Author
|
Fixed build issue and rebased! Thank you guys! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This fix, adds in the CommandManager some logic to unsuscribe closed native windows.
and also adds a try/catch with logging in current OpenWindowListHandler
Fixes VSTS #999372 - System.ObjectDisposedException exception in Foundation.NSObject.get_SuperHandle()