logs route profile mode: don't barf bytes if the buffer is not empty

This commit is contained in:
Louis Dureuil 2024-02-06 18:05:02 +01:00
parent 02dcaf07db
commit 661baa716b
No known key found for this signature in database

View File

@ -186,6 +186,10 @@ fn entry_stream(
};
if count == 0 {
if !bytes.is_empty() {
break;
}
// channel closed, exit
return None;
}