mirror of
https://github.com/weechat/weechat.git
synced 2026-07-01 07:16:37 +02:00
core: fix crash on plugin reload when using musl libs (closes #2052)
This commit is contained in:
@@ -1307,9 +1307,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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user