Project

General

Profile

« Previous | Next » 

Revision 6d01b667

Added by Sutou Kouhei over 2 years ago

[ruby/fiddle] test: ensure GC-ing closures

GitHub: fix GH-102

We can't use Fiddle::Closure before we fork the process. If we do it,
the process may be crashed with SELinux.

See https://github.com/ruby/fiddle/issues/102#issuecomment-1241763091
for details.

Reported by Vít Ondruch. Thanks!!!

https://github.com/ruby/fiddle/commit/1343ac7a95