From b49ed2266515791d0cf079c5ba228a7e3d908784 Mon Sep 17 00:00:00 2001 From: Valentin Haudiquet Date: Tue, 2 Jun 2026 20:14:01 +0200 Subject: [PATCH] fix: tryfix record-daemon disconnecting from league client --- record-daemon/src/lqp/client.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/record-daemon/src/lqp/client.rs b/record-daemon/src/lqp/client.rs index bc66c49..afce1bf 100644 --- a/record-daemon/src/lqp/client.rs +++ b/record-daemon/src/lqp/client.rs @@ -72,6 +72,9 @@ impl LqpClient { pub async fn connect(&self, creds: LockfileCredentials) -> Result<()> { info!("Connecting to League Client at port {}", creds.port); + // Reset shutdown flag for new connection + *self.shutdown.write().await = false; + // Store credentials *self.credentials.write().await = Some(creds.clone());