guile: disable guile gmp allocator (fix crash on unload of relay plugin) (bug #40628)
This commit is contained in:
parent
717eaae496
commit
b5db21d6c4
1
AUTHORS
1
AUTHORS
@ -55,6 +55,7 @@ Alphabetically:
|
||||
* Paul Komkoff
|
||||
* Pavel Shevchuk (Stalwart)
|
||||
* Peter Boström (pbos)
|
||||
* Pierre Carru
|
||||
* Piotr Szymaniak
|
||||
* Pistos
|
||||
* Quentin Glidic (SardemFF7)
|
||||
|
@ -38,6 +38,8 @@ http://weechat.org/files/releasenotes/ReleaseNotes-devel.html[release notes]
|
||||
string_eval_expression and command /eval
|
||||
* api: add support for C++ plugins
|
||||
* api: fix read of arrays in hdata functions hdata_<type> (bug #40354)
|
||||
* guile: disable guile gmp allocator (fix crash on unload of relay plugin)
|
||||
(bug #40628)
|
||||
* irc: fix groups in channel nicklist when reconnecting to a server that
|
||||
supports more nick prefixes than the previously connected server
|
||||
* irc: fix auto-switch to channel buffer when doing /join channel (without "#")
|
||||
|
@ -972,6 +972,13 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
|
||||
|
||||
guile_stdout = NULL;
|
||||
|
||||
/*
|
||||
* prevent guile to use its own gmp allocator, because it can conflict
|
||||
* with other plugins using GnuTLS like relay, which can crash WeeChat
|
||||
* on unload (or exit)
|
||||
*/
|
||||
scm_install_gmp_memory_functions = 0;
|
||||
|
||||
scm_init_guile ();
|
||||
|
||||
guile_module_weechat = scm_c_define_module ("weechat",
|
||||
|
Loading…
x
Reference in New Issue
Block a user