Skip to content

Commit

Permalink
[wpe] Add missing dialog unref
Browse files Browse the repository at this point in the history
  • Loading branch information
zhani committed Jul 29, 2024
1 parent a779ecb commit c0498de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wpe/src/main/cpp/Browser/Page.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,7 @@ void JNIPageCache::nativeScriptDialogClose(JNIEnv* /*env*/, jobject /*obj*/, jlo
{
Logging::logDebug("Page::nativeScriptDialogClose() [tid %d]", gettid());
auto* dialog = reinterpret_cast<WebKitScriptDialog*>(dialogPtr); // NOLINT(performance-no-int-to-ptr)
webkit_script_dialog_unref(dialog);
webkit_script_dialog_close(dialog);
}

Expand Down

0 comments on commit c0498de

Please sign in to comment.