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<()> {
|
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());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user