diff options
| author | Sutou Kouhei <kou@clear-code.com> | 2022-09-14 12:59:13 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2022-10-07 15:18:51 +0900 |
| commit | 255e617bc38f714c943c932e7df2b709313fd6bf (patch) | |
| tree | 7c29170acba0ebce434cce22c0bfe34774ac7117 /spec/ruby/core/array/shared | |
| parent | 191b91f47a1557b7178072e2a607105d5449e2ef (diff) | |
[ruby/fiddle] Add Fiddle::Closure.create and Fiddle::Closure.free
GitHub: fix GH-102
It's for freeing a closure explicitly.
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/a0ccc6bb1b
Diffstat (limited to 'spec/ruby/core/array/shared')
0 files changed, 0 insertions, 0 deletions
