-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use weak handle for the back reference to EventProvider (#80482)
* Use weak handle for the back reference to EventProvider This avoids leak when the event provider is orphaned without explicit unregistration. Fixes #80450 * Delete unnecessary IEventProvider interface Repurpose no-op event provider as a base class * Fix warning on wasm
- Loading branch information
Showing
4 changed files
with
49 additions
and
82 deletions.
There are no files selected for viewing
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
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
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
33 changes: 0 additions & 33 deletions
33
src/libraries/System.Private.CoreLib/src/System/Diagnostics/Tracing/IEventProvider.cs
This file was deleted.
Oops, something went wrong.