Fix
This commit is contained in:
@@ -56,8 +56,8 @@ impl<S: PulseWire, R: PulseWire, M: for<'de> Deserialize<'de>> Plugin<S, R, M> {
|
||||
let mut process = self.process.lock().await;
|
||||
let stdin = process.stdin.as_mut().unwrap();
|
||||
|
||||
stdin.write(&msg.len().to_le_bytes()).await?;
|
||||
stdin.write(msg).await?;
|
||||
stdin.write_all(&msg.len().to_le_bytes()).await?;
|
||||
stdin.write_all(msg).await?;
|
||||
stdin.flush().await?;
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user