mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 06:40:17 +00:00
Properly initialize response_channels
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
6b0ed820bf
commit
0aadc94442
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ impl Peer {
|
||||||
let connection_state = ConnectionState {
|
let connection_state = ConnectionState {
|
||||||
outgoing_tx,
|
outgoing_tx,
|
||||||
next_message_id: Default::default(),
|
next_message_id: Default::default(),
|
||||||
response_channels: Default::default(),
|
response_channels: Arc::new(Mutex::new(Some(Default::default()))),
|
||||||
};
|
};
|
||||||
let mut writer = MessageStream::new(connection.tx);
|
let mut writer = MessageStream::new(connection.tx);
|
||||||
let mut reader = MessageStream::new(connection.rx);
|
let mut reader = MessageStream::new(connection.rx);
|
||||||
|
|
Loading…
Reference in a new issue