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

fix bug in end function calls for plugins/scripts

This commit is contained in:
Emmanuel Bouthenot
2006-05-17 09:59:19 +00:00
parent 87aa03b2cf
commit 524fbba036
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1440,7 +1440,7 @@ weechat_python_unload (t_weechat_plugin *plugin, t_plugin_script *script)
script->name);
if (script->shutdown_func[0])
weechat_python_exec (plugin, script, script->shutdown_func, "", "", "");
weechat_python_exec (plugin, script, script->shutdown_func, NULL, NULL, NULL);
PyThreadState_Swap (script->interpreter);
Py_EndInterpreter (script->interpreter);