From 71382b6c0fa1860f371349f6409f9bbd1ea3987a Mon Sep 17 00:00:00 2001 From: Andrew Potter Date: Tue, 25 Apr 2023 11:27:29 -0700 Subject: ruby: Restore default SIGCHLD signal handler on unload fixes #1889 --- src/plugins/ruby/weechat-ruby.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/plugins/ruby/weechat-ruby.c b/src/plugins/ruby/weechat-ruby.c index a629437c9..09be2f202 100644 --- a/src/plugins/ruby/weechat-ruby.c +++ b/src/plugins/ruby/weechat-ruby.c @@ -30,6 +30,7 @@ #include #endif +#include #include #include #include @@ -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) -- cgit v1.2.3