This repository has been archived by the owner on Oct 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Handles disposed windows when they are closed while checking windows loop #9109
Open
netonjm
wants to merge
2
commits into
main
Choose a base branch
from
fix-999372
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains 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
netonjm
changed the title
Handles disposed windows when they are closed while the windows loop
Handles disposed windows when they are closed while checking windows loop
Oct 28, 2019
Therzok
suggested changes
Oct 28, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
@monojenkins rebase |
monojenkins
force-pushed
the
fix-999372
branch
from
December 3, 2019 02:56
f6b2f01
to
3d51fd4
Compare
Therzok
approved these changes
Dec 3, 2019
@monojenkins rebase |
monojenkins
force-pushed
the
fix-999372
branch
from
December 9, 2019 11:34
c65b8d6
to
78dd318
Compare
@monojenkins rebase |
monojenkins
force-pushed
the
fix-999372
branch
from
January 7, 2020 12:02
78dd318
to
f9d633f
Compare
rebased! |
Therzok
reviewed
Jan 15, 2020
main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/WindowCommands.cs
Outdated
Show resolved
Hide resolved
@monojenkins rebase |
monojenkins
force-pushed
the
fix-999372
branch
from
January 21, 2020 16:15
f1bbf8f
to
d5b6608
Compare
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()
Fixed build issue and rebased! Thank you guys! |
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()