Profiler.BeginSample(“Calling Path Callbacks”);
Profiler.EndSample(); is not called from the return statement.
// At least 5 paths will be returned, even if timeSlice is enabled
if (counter > 5 && timeSlice) {
counter = 0;
if (System.DateTime.UtcNow.Ticks >= targetTick) {
return;
}
}