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());