1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

Restore call to close callbacks for plugin buffers when unloading plugin

This commit is contained in:
Sebastien Helleu
2008-11-18 14:09:19 +01:00
parent 116a3d5042
commit 33daa4bc55
-4
View File
@@ -700,11 +700,7 @@ plugin_remove (struct t_weechat_plugin *plugin)
next_buffer = ptr_buffer->next_buffer;
if (ptr_buffer->plugin == plugin)
{
ptr_buffer->close_callback = NULL;
ptr_buffer->close_callback_data = NULL;
gui_buffer_close (ptr_buffer, 1);
}
ptr_buffer = next_buffer;
}