Backends: Metal: Remove weak ref (#5122, #5123)

This commit is contained in:
Wvader
2022-03-22 17:24:51 +01:00
committed by ocornut
parent 31e77eacdb
commit 7602277c86
+1 -1
View File
@@ -583,7 +583,7 @@ void ImGui_ImplMetal_DestroyDeviceObjects()
indexBufferOffset += (size_t)cmd_list->IdxBuffer.Size * sizeof(ImDrawIdx);
}
__weak id weakSelf = self;
id weakSelf = self;
[commandBuffer addCompletedHandler:^(id<MTLCommandBuffer>)
{
dispatch_async(dispatch_get_main_queue(), ^{