1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-08 02:33:12 +02:00

core: fix crash on plugin reload when using musl libc (issue #2052)

This commit is contained in:
Sébastien Helleu
2023-12-15 22:53:51 +01:00
parent ad66bba2f8
commit 86e1af7ab9
42 changed files with 319 additions and 5 deletions
+9
View File
@@ -1288,9 +1288,18 @@ void
irc_notify_end ()
{
if (irc_notify_timer_ison)
{
weechat_unhook (irc_notify_timer_ison);
irc_notify_timer_ison = NULL;
}
if (irc_notify_timer_whois)
{
weechat_unhook (irc_notify_timer_whois);
irc_notify_timer_whois = NULL;
}
if (irc_notify_hsignal)
{
weechat_unhook (irc_notify_hsignal);
irc_notify_hsignal = NULL;
}
}