1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-02 15:53:12 +02:00

ruby: Restore default SIGCHLD signal handler on unload

fixes #1889
This commit is contained in:
Andrew Potter
2023-04-25 11:27:29 -07:00
committed by Sébastien Helleu
parent ac25043b27
commit 71382b6c0f
+2
View File
@@ -30,6 +30,7 @@
#include <ruby/version.h>
#endif
#include <signal.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -1440,6 +1441,7 @@ weechat_plugin_end (struct t_weechat_plugin *plugin)
ruby_quiet = 0;
ruby_cleanup (0);
signal (SIGCHLD, SIG_DFL);
/* free some data */
if (ruby_action_install_list)