mirror of https://github.com/helix-editor/helix
minor: Add missing call to `Vec::clear` for a buffer
parent
b1f4717356
commit
01341cbbf6
|
@ -136,6 +136,8 @@ impl Transport {
|
|||
// try parsing as output (server response) or call (server request)
|
||||
let output: serde_json::Result<ServerMessage> = serde_json::from_str(msg);
|
||||
|
||||
content.clear();
|
||||
|
||||
Ok(output?)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue