Skip to content

Commit

Permalink
ONEM-34413: Improve WebkitBrowser plugin termination by finishing not…
Browse files Browse the repository at this point in the history
… properly terminated threads

Importyed changes from rdkcentral#5315
  • Loading branch information
1 parent 5e44de3 commit dd2532f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions WebKitBrowser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ if(NOT WEBKIT_GLIB_API)
target_sources(${PLUGIN_WEBKITBROWSER_IMPLEMENTATION} PRIVATE InjectedBundle/Utils.cpp)
endif()

# This is a temporary solution. Normally we should leave this to the framework.
# Do not replicate for other plugins.
target_link_options(${PLUGIN_WEBKITBROWSER_IMPLEMENTATION} PRIVATE "-Wl,-z,nodelete")

target_link_libraries(${PLUGIN_WEBKITBROWSER_IMPLEMENTATION}
PRIVATE
${NAMESPACE}Plugins::${NAMESPACE}Plugins
Expand Down

0 comments on commit dd2532f

Please sign in to comment.