Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3592b86a94 | |||
| b49ed22665 |
@@ -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