feat(remote): end a remote session when its client is gone

This commit is contained in:
imSp4rky
2026-11-30 17:23:35 -07:00
parent e813737506
commit ffe812f054
13 changed files with 747 additions and 53 deletions
+1 -1
View File
@@ -1157,12 +1157,12 @@ class RemoteService(TitleSource):
from unshackle.core.remote_channel import open_channel
channel = self.lifetime.channel = open_channel(self)
channel.keep_alive()
if result.get("status", AuthStatus.AUTHENTICATED) == AuthStatus.AUTHENTICATING:
channel.wait_auth()
if create_data.get("cdm_relay"):
self.client.in_flight = channel.in_flight
self.drain_server_logs()
channel.keep_alive()
@property
def local_cdm(self) -> Any: