minor: Add missing call to Vec::clear for a buffer

This commit is contained in:
Michael Davis 2025-06-06 12:23:22 -04:00
parent b1f4717356
commit 01341cbbf6
No known key found for this signature in database

View File

@ -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?)
}