Project

General

Profile

« Previous | Next » 

Revision 6d01b667

Added by Sutou Kouhei about 3 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