vcl/source/app/svdata.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit f3b250fa282406293bf7c6d1e3f59c792726f920 Author: Tor Lillqvist <[email protected]> AuthorDate: Tue Jul 15 15:10:32 2025 +0300 Commit: Tor Lillqvist <[email protected]> CommitDate: Wed Oct 8 10:00:54 2025 +0200 Downgrade an assert to a warning Change-Id: I26b623ded575e2c0b22dff19ae6cabae42003c1c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191951 Tested-by: Jenkins Reviewed-by: Tor Lillqvist <[email protected]> diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx index 380c88c4a43c..1acedd0e5ab9 100644 --- a/vcl/source/app/svdata.cxx +++ b/vcl/source/app/svdata.cxx @@ -454,7 +454,8 @@ void ImplSVData::dropCaches() } #if defined __cpp_lib_memory_resource - assert(!bAllCachesDropped || CacheMemory::GetMemoryResource().GetAllocatedPages() == 0); + SAL_WARN_IF(!(!bAllCachesDropped || CacheMemory::GetMemoryResource().GetAllocatedPages() == 0), + "vcl", "Cache pages still allocated after cache memory fully dropped"); #endif (void)bAllCachesDropped; }
