core: Fix crash during exception stack unwind (#4188)
This commit is contained in:
@@ -7,6 +7,10 @@ namespace mbgl {
|
||||
namespace vulkan {
|
||||
|
||||
SurfaceRenderableResource::~SurfaceRenderableResource() {
|
||||
if (!backend.getDevice()) {
|
||||
return;
|
||||
}
|
||||
|
||||
backend.getDevice()->waitIdle(backend.getDispatcher());
|
||||
|
||||
// specific order
|
||||
|
||||
Reference in New Issue
Block a user