mirror of
https://github.com/weechat/weechat.git
synced 2026-06-25 12:26:40 +02:00
python: unload script interpreters before eval interpreter
The workaround in the previous commit didn't work for one user, so try unloading the eval interpreter last to see if that helps.
This commit is contained in:
committed by
Sébastien Helleu
parent
c325dedf05
commit
830b152776
@@ -1625,12 +1625,12 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
|
||||
{
|
||||
/* unload all scripts */
|
||||
python_quiet = 1;
|
||||
plugin_script_end (plugin, &python_data);
|
||||
if (python_script_eval)
|
||||
{
|
||||
weechat_python_unload (python_script_eval);
|
||||
python_script_eval = NULL;
|
||||
}
|
||||
plugin_script_end (plugin, &python_data);
|
||||
python_quiet = 0;
|
||||
|
||||
/* free python interpreter */
|
||||
|
||||
Reference in New Issue
Block a user