Add finalizer to SharedMemory.

This commit is contained in:
Patrick Mahoney 2011-12-17 10:31:22 -06:00
parent 7bdae6482f
commit a1f881f59c
1 changed files with 1 additions and 1 deletions

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