Add finalizer to SharedMemory.
This commit is contained in:
1 parent
7bdae6482f
commit
a1f881f59c
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user