Skip to content

Commit 5767941

Browse files
committed
Fix to use old scheduler naming
1 parent d9420a6 commit 5767941

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Arch/Core/Jobs/World.Jobs.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ public void InlineParallelChunkQuery<T>(in QueryDescription queryDescription, in
111111
job.Instance = innerJob;
112112

113113
var jobHandle = SharedJobScheduler.Schedule(job, handle);
114-
SharedJobScheduler.ReadToFlush(jobHandle);
114+
SharedJobScheduler.Flush(jobHandle);
115115
JobsCache.Add(job);
116116
}
117117

118118
// Schedule, flush, wait, return.
119-
SharedJobScheduler.ReadToFlush(handle);
119+
SharedJobScheduler.Flush(handle);
120120
SharedJobScheduler.Wait(handle);
121121

122122
for (var index = 0; index < JobsCache.Count; index++)
@@ -166,12 +166,12 @@ public JobHandle ScheduleInlineParallelChunkQuery<T>(in QueryDescription queryDe
166166
};
167167

168168
var jobHandle = SharedJobScheduler.Schedule(job, handle);
169-
SharedJobScheduler.ReadToFlush(jobHandle);
169+
SharedJobScheduler.Flush(jobHandle);
170170
}
171171
}
172172

173173
// flush, wait, return.
174-
SharedJobScheduler.ReadToFlush(handle);
174+
SharedJobScheduler.Flush(handle);
175175
SharedJobScheduler.Wait(handle);
176176
return handle;
177177
}

0 commit comments

Comments
 (0)