From 2a903c724c468c56e91f4d736e5fb096789418fa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 15 May 2026 08:22:30 +0530 Subject: [PATCH] Fix missing Block_copy --- glfw/cocoa_window.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 807f4954e..b8004ecea 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -4773,7 +4773,8 @@ _glfwPlatformStartDrag(_GLFWwindow* window, const GLFWimage* thumbnail) {@autore [fileManager removeItemAtURL:url error:&error]; return; } - file_handle = fileHandle; completion_handler = completionHandler; + file_handle = fileHandle; + completion_handler = Block_copy(completionHandler); file_url = [url retain]; [self request_drag_data]; }