mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-03-29 21:15:31 +08:00
[chore] remove SetOnFileComplete() in class FileReceiver
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user