From 69800d89c08042f9b719ef07e2c930a332f6f3fa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 15 May 2026 13:31:22 +0530 Subject: [PATCH] ... --- glfw/cocoa_window.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glfw/cocoa_window.m b/glfw/cocoa_window.m index 7e555fb36..cb12da259 100644 --- a/glfw/cocoa_window.m +++ b/glfw/cocoa_window.m @@ -4570,7 +4570,7 @@ _glfwPlatformStartDrag(_GLFWwindow* window, const GLFWimage* thumbnail) {@autore Block_release(completion_handler); completion_handler = nil; } - [file_promise_providers removeObject:self]; + if (file_promise_providers) [file_promise_providers removeObject:self]; if (drag_finish_window_id) { if (!file_promise_providers || [file_promise_providers count] == 0) { fire_drag_finished();