1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-29 06:16:40 +02:00

python: call empty eval workaround before auto-load of scripts (issue #2046, issue #2126)

This should definitely fix the crash with Python 3.12, even when scripts are
auto-loaded (the previous fix was working only when the scripts are loaded
manually).
This commit is contained in:
Sébastien Helleu
2024-06-26 18:44:35 +02:00
parent 3d3d8f2ea7
commit 85c7494dc7
10 changed files with 33 additions and 6 deletions
+1
View File
@@ -122,6 +122,7 @@ struct t_plugin_script_data
void (*callback_load_file) (void *data, const char *filename);
/* functions */
void (*init_before_autoload) ();
void (*unload_all) ();
};