server: fix crash from adaptive p

This commit is contained in:
firecoperana
2026-02-22 17:45:42 -06:00
parent 89b1e2b518
commit bd3cf6e2cf

View File

@@ -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;