server: fix crash from adaptive p (#1304)
Co-authored-by: firecoperana <firecoperana>
This commit is contained in:
parent
89b1e2b518
commit
efc294cc39
|
|
@ -143,6 +143,9 @@ void common_sampler_reset(common_sampler * ctx) {
|
|||
}
|
||||
|
||||
void common_sampler_review(common_sampler * ctx) {
|
||||
if (!ctx->adapt_p_ctx) {
|
||||
return;
|
||||
}
|
||||
const bool record = ctx->record_samplers;
|
||||
const bool rewind = ctx->rewind_samplers;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue