vcl/source/app/svdata.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
New commits: commit 3b71e3259805de61196987a865caa0174d4977dc Author: Tor Lillqvist <[email protected]> AuthorDate: Tue Jul 15 15:10:32 2025 +0300 Commit: Caolán McNamara <[email protected]> CommitDate: Tue Dec 2 16:28:29 2025 +0100 Downgrade an assert to a warning Change-Id: I26b623ded575e2c0b22dff19ae6cabae42003c1c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194595 Tested-by: Jenkins CollaboraOffice <[email protected]> Tested-by: Caolán McNamara <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> diff --git a/vcl/source/app/svdata.cxx b/vcl/source/app/svdata.cxx index 912de070fad3..ac984e286420 100644 --- a/vcl/source/app/svdata.cxx +++ b/vcl/source/app/svdata.cxx @@ -458,7 +458,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; }
