This commit is contained in:
collinmcg 2026-04-06 21:05:10 +03:00 committed by GitHub
commit 33d4b05a30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -316,6 +316,9 @@ void PipelineCache::WarmUp() {
if (std::memcmp(profile_data.data(), &profile, sizeof(profile)) != 0) {
LOG_WARNING(Render,
"Pipeline cache isn't compatible with current system. Ignoring the cache");
// Keep DB lifecycle consistent before early return: in archived mode, Save() later in the
// session may still be called and expects writable archive state.
Storage::DataBase::Instance().FinishPreload();
return;
}