WIP minor fix
This commit is contained in:
parent
9040f8f88e
commit
6d121562af
1 changed files with 3 additions and 0 deletions
|
@ -452,6 +452,9 @@ impl MPDHandler {
|
|||
write_handle.art_data.len(),
|
||||
write_handle.art_data_size
|
||||
));
|
||||
if write_handle.art_data.len() == write_handle.art_data_size {
|
||||
write_handle.dirty_flag.store(true, Ordering::Relaxed);
|
||||
}
|
||||
} else {
|
||||
write_handle.art_data.extend_from_slice(&buf_vec);
|
||||
write_handle.current_binary_size -= buf_vec.len();
|
||||
|
|
Loading…
Reference in a new issue