Add finalizer to SharedMemory.
This commit is contained in:
		
							parent
							
								
									7bdae6482f
								
							
						
					
					
						commit
						a1f881f59c
					
				|  | @ -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 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue