From a1f881f59c8cd6f2ef7575f7b9b27b7d1e9e72ba Mon Sep 17 00:00:00 2001 From: Patrick Mahoney Date: Sat, 17 Dec 2011 10:31:22 -0600 Subject: [PATCH] Add finalizer to SharedMemory. --- lib/process_shared/shared_memory.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/process_shared/shared_memory.rb b/lib/process_shared/shared_memory.rb index 9830e93..a9528e5 100644 --- a/lib/process_shared/shared_memory.rb +++ b/lib/process_shared/shared_memory.rb @@ -3,7 +3,7 @@ require 'process_shared/libc' require 'process_shared/with_self' module ProcessShared - # Memory block shared across processes. TODO: finalizer that closes... + # Memory block shared across processes. class SharedMemory < FFI::Pointer include WithSelf