Skip to content
Snippets Groups Projects
Commit ae32c406 authored by Nicolas Pope's avatar Nicolas Pope
Browse files

Change jobs empty check

parent 924ed1ac
No related branches found
No related tags found
2 merge requests!86Fixes for multi swap in net buffers,!85Partial fixes from chunk sync
Pipeline #12679 canceled
This commit is part of merge request !86. Comments created here will be created in the context of that merge request.
......@@ -311,7 +311,7 @@ void Streamer::wait() {
}
void Streamer::_schedule(StreamSource *src) {
if (src == nullptr || src->jobs != 0) return;
if (src == nullptr || src->jobs > 0) return;
jobs_ += 2 + kChunkCount;
src->jobs = 2 + kChunkCount;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment