Ignore clipboard events if channel not loaded.

This commit is contained in:
Armin Novak 2019-01-23 16:01:36 +01:00
parent c8e85338b7
commit 891d9760dc

View File

@ -281,6 +281,9 @@ BOOL wlf_cliprdr_handle_event(wfClipboard* clipboard, const UwacClipboardEvent*
if (!clipboard || !event)
return FALSE;
if (!clipboard->context)
return TRUE;
switch (event->type)
{
case UWAC_EVENT_CLIPBOARD_AVAILABLE: