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

pull/13675/merge
Michael Davis 2025-06-06 12:23:22 -04:00
parent b1f4717356
commit 01341cbbf6
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

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