mirror of
https://github.com/realAscot/helix.git
synced 2025-09-14 04:03:03 +02:00
minor: Add missing call to Vec::clear
for a buffer
This commit is contained in:
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…
x
Reference in New Issue
Block a user