On 13-09-01 10:57 AM, Dimitar Zhekov wrote:
On Sat, 31 Aug 2013 20:33:50 -0000
Matthew Brush <git-nore...@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.


Thanks for mentioning, I'll check. That might good information to add as a @note in the API docs for `plugin_module_make_resident`.

Cheers,
Matthew Brush
_______________________________________________
Devel mailing list
Devel@lists.geany.org
https://lists.geany.org/cgi-bin/mailman/listinfo/devel

Reply via email to