From eb210ca248c049e28bd54029b066782b02d9c3e4 Mon Sep 17 00:00:00 2001 From: CharlesChen0823 Date: Tue, 23 Jul 2024 11:20:53 +0800 Subject: [PATCH] linux: Fix crash in Wayland when dragging and dropping a tab not belonging to Zed (#14995) close #14189 Release Notes: - N/A --- crates/gpui/src/platform/linux/wayland/client.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/gpui/src/platform/linux/wayland/client.rs b/crates/gpui/src/platform/linux/wayland/client.rs index 73afc5b97edb990cda3045dcfd350b2d2f0ec773..c88f0ff7612d56333bbc678c1c117530f2a47ee2 100644 --- a/crates/gpui/src/platform/linux/wayland/client.rs +++ b/crates/gpui/src/platform/linux/wayland/client.rs @@ -1803,7 +1803,6 @@ impl Dispatch for WaylandClientStatePtr { // Prevent dropping text from other programs. if paths.is_empty() { - data_offer.finish(); data_offer.destroy(); return; }