Skip to content

Avoid throwing exceptions after resource disposal#501

Merged
runceel merged 1 commit intomainfrom
fix498
Jan 27, 2025
Merged

Avoid throwing exceptions after resource disposal#501
runceel merged 1 commit intomainfrom
fix498

Conversation

@runceel
Copy link
Owner

@runceel runceel commented Jan 27, 2025

Changed the PropertyChanged method in the PropertyChangedObservable class to return instead of throwing an InvalidOperationException when _isDisposed is true. Added a return check in the SourcePropertyChangedEventHandler method of the PropertyPathNode class when _isDisposed is true. Changed the PropertyChanged method in the SimplePropertyObservable class to return instead of throwing an InvalidOperationException when _isDisposed is true.

Changed the PropertyChanged method in the PropertyChangedObservable class to return instead of throwing an InvalidOperationException when _isDisposed is true. Added a return check in the SourcePropertyChangedEventHandler method of the PropertyPathNode class when _isDisposed is true. Changed the PropertyChanged method in the SimplePropertyObservable class to return instead of throwing an InvalidOperationException when _isDisposed is true.
@runceel runceel requested a review from Copilot January 27, 2025 00:52
@runceel runceel self-assigned this Jan 27, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

@runceel runceel merged commit 6c76130 into main Jan 27, 2025
1 check passed
@runceel runceel deleted the fix498 branch January 27, 2025 00:55
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.

1 participant