Fixes #1447.

See https://github.com/geany/geany-plugins/issues/1447#issuecomment-2998133668, 
but basically apparently nowadays simply *loading* a webkit-using plugin means 
it cannot ever be unloaded, or else :boom:.

So, port both webkit-using plugins to the new plugin API 
(`geany_load_module()`) to be able to make the plugin resident also when it was 
only loaded for gathering information in the plugin dialog.

To reproduce the crashes (for me):
* install WebHelper and/or Markdown
* open the plugin manager, and *do not enable either plugins*
* close the plugin manager, and mind your own business for a few seconds (I 
typically tried the open dialog, but anything works, and probably doing nothing 
as well)
* :boom: with a weird backtrace

Workarounds:
* not having a webkit-using plugin installed
* do not open the plugin manager dialog
* have a webkit-using plugin enabled
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany-plugins/pull/1455

-- Commit Summary --

  * markdown: Make module resident earlier
  * webhelper: Make module resident earlier

-- File Changes --

    M markdown/src/plugin.c (78)
    M webhelper/src/gwh-browser.c (2)
    M webhelper/src/gwh-plugin.c (93)
    M webhelper/src/gwh-plugin.h (3)

-- Patch Links --

https://github.com/geany/geany-plugins/pull/1455.patch
https://github.com/geany/geany-plugins/pull/1455.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/pull/1455
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany-plugins/pull/[email protected]>

Reply via email to