Skip to content

Update class factory cache to detect rundown of remote factories and re-create #653

@ChrisGuzak

Description

@ChrisGuzak

C++ WinRT caches agile factories. When the factory is remote, implemented in a win32 service, and that service is shutdown, calls on it will throw “RPC server is unavailable”. Since these services will auto-start attempts to re-bind will succeed.

The factory cache should detect this case, release the bad factory and try again.

This is similar to the support in event delegates that detect RPC server is unavailable and remove the delegate from the event collection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions