From 7a8c5e9530621d98cfd6aa333d50772e78e56060 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Mon, 8 Apr 2024 17:57:23 -0700 Subject: [PATCH] Rebase, release device --- shell/platform/darwin/ios/rendering_api_selection.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/platform/darwin/ios/rendering_api_selection.mm b/shell/platform/darwin/ios/rendering_api_selection.mm index cba75d03c5c8f..7466014cfd264 100644 --- a/shell/platform/darwin/ios/rendering_api_selection.mm +++ b/shell/platform/darwin/ios/rendering_api_selection.mm @@ -24,7 +24,6 @@ bool ShouldUseMetalRenderer() { if (@available(iOS METAL_IOS_VERSION_BASELINE, *)) { auto device = MTLCreateSystemDefaultDevice(); ios_version_supports_metal = [device supportsFeatureSet:MTLFeatureSet_iOS_GPUFamily1_v3]; - [device release]; } return ios_version_supports_metal; }