Add finalizer to SharedMemory.

This commit is contained in:
Patrick Mahoney committed 2011-12-17 10:31:22 -06:00
1 parent 7bdae6482f
commit a1f881f59c
1 file changed
+1 -1
+1 -1
View File
@@ -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