Skip to content

EventPipe shutdown and EventPipeEventDispatcher aren't coordinated properly #90472

Closed
@davmason

Description

@davmason

If a program returns from main it will clean up EventPipe by calling ep_shutdown, but the EventPipeEventDispatcher thread is still running and may AV when it is trying to use memory owned by EventPipe's buffers.

We should either let the EventPipeEventDispatcher session run past shutdown or put in the appropriate synchronization.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions