What determines how long does an out of process COM server takes to notice that a client has died?
问题 In a simple windows setup we have a COM singleton that runs as an out of process server. Clients connect by calling cocreate and each receives an interface to the same instance of the server. If clients shutdown normally they release their references. The server has a bit of logic that keeps it alive for a short time after the last release to allow for new connections. I'm interested in one special case - the server is running with only one client which crashes (consider this to be any random