fix: tryfix record-daemon disconnecting from league client

This commit is contained in:
2026-06-02 20:14:01 +02:00
parent abb35b8fac
commit b49ed22665
+3
View File
@@ -72,6 +72,9 @@ impl LqpClient {
pub async fn connect(&self, creds: LockfileCredentials) -> Result<()> { pub async fn connect(&self, creds: LockfileCredentials) -> Result<()> {
info!("Connecting to League Client at port {}", creds.port); info!("Connecting to League Client at port {}", creds.port);
// Reset shutdown flag for new connection
*self.shutdown.write().await = false;
// Store credentials // Store credentials
*self.credentials.write().await = Some(creds.clone()); *self.credentials.write().await = Some(creds.clone());