Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
psaavedra authored Nov 1, 2023
1 parent 0efde67 commit a29f634
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/wayland/cog-utils-wl.c
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ cog_wl_popup_destroy(CogWlPopup *popup)
g_debug("%s: Destroying @ %p", G_STRFUNC, popup);
g_assert(popup);

if (popup->option_menu == NULL)
return;
if (popup->option_menu != NULL)
webkit_option_menu_close(popup->option_menu);

g_clear_pointer(&popup->popup_menu, cog_popup_menu_destroy);
g_clear_object(&popup->option_menu);
Expand Down

0 comments on commit a29f634

Please sign in to comment.