fix: tryfix record-daemon disconnecting from league client
This commit is contained in:
@@ -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());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user