[Geany-Devel] [geany/geany-plugins] 6c2b0c: Debugger: Prevent crash when re-loading plugin
dimitar.zhekov at xxxxx
Sun Sep 1 17:57:17 UTC 2013
On Sat, 31 Aug 2013 20:33:50 -0000
Matthew Brush <git-noreply at geany.org> wrote:
> Debugger provides own GtkCellRenderer GTypes so its module must
> remain resident
> + plugin_module_make_resident(geany_plugin);
Note that when a resident module is unloaded and then reloaded (uncheck
then check  Debugger), the global variables are not re-initialized.
So, if debugger contains any global "[static] type variable = value",
or relies on globals being 0, they must be initialized explicitly.
More information about the Devel