[chore] remove SetOnFileComplete() in class FileReceiver

This commit is contained in:
dijunkun
2025-12-29 12:48:14 +08:00
parent ab89a3d41a
commit 78c82f778a
2 changed files with 0 additions and 7 deletions

View File

@@ -298,10 +298,6 @@ bool FileReceiver::HandleChunk(const FileChunkHeader& header,
LOG_INFO("FileReceiver: file received complete, file_id={}, size={}",
header.file_id, ctx.received);
if (on_file_complete_) {
on_file_complete_(saved_path);
}
contexts_.erase(header.file_id);
}