core: Fix crash during exception stack unwind (#4188)

This commit is contained in:
Adrian Cojocaru
2026-03-24 16:39:32 +02:00
committed by GitHub
parent 01cb5eb12b
commit 35cf39b72f

View File

@@ -7,6 +7,10 @@ namespace mbgl {
namespace vulkan {
SurfaceRenderableResource::~SurfaceRenderableResource() {
if (!backend.getDevice()) {
return;
}
backend.getDevice()->waitIdle(backend.getDispatcher());
// specific order