summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--spec/ecore_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/ecore_spec.rb b/spec/ecore_spec.rb
index 9d8010a..bccd1f9 100644
--- a/spec/ecore_spec.rb
+++ b/spec/ecore_spec.rb
@@ -144,6 +144,7 @@ describe "Efl::Ecore #{Efl::Ecore.version.full}" do
Ecore.main_loop_iterate
pipe.read_close
pipe.write_close
+ pipe.del # without this, pipe is freed by autopointer, but after Ecore.shutdown then SIGSEV
end
it "manual destructor should not raise FFI::AutoPointer error" do
data = FFI::MemoryPointer.from_string("none")