Skip to content

Investigate/code clean up ifdef in RemoteSessionNamedPipe.cs #8925

@TylerLeonhardt

Description

@TylerLeonhardt

As called out in #8889...

in regards to:

#if !CORECLR // There is only one AppDomain per application in CoreCLR, which would be the default
CreateAppDomainUnloadHandler();
#endif

@PaulHigin said:

This code attempts to dispose the default pipe server on process (appdomain) exit, but it is disabled for CORECLR and so is dead code. This code should be removed or fixed to dispose both the default and custom pipe server objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-Code Cleanupthe issue is for cleaning up the code with no impact on functionalityResolution-No ActivityIssue has had no activity for 6 months or more

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions