mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-12-05 15:35:06 +00:00
feat(remote): end a remote session when its client is gone
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user