We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f6b8c8 commit 93804d8Copy full SHA for 93804d8
1 file changed
flutter/shell/platform/tizen/tizen_clipboard.cc
@@ -127,6 +127,11 @@ bool TizenClipboard::GetData(ClipboardCallback on_data_callback) {
127
128
if (!selection_offer_) {
129
FT_LOG(Error) << "ecore_wl2_dnd_selection_get() failed.";
130
+
131
+ if (on_data_callback_) {
132
+ on_data_callback_(std::nullopt);
133
+ on_data_callback_ = nullptr;
134
+ }
135
return false;
136
}
137
0 commit comments