Fix bug.
This commit is contained in:
parent
4cd4344f13
commit
cd0031e36e
|
@ -46,8 +46,8 @@ module ProcessShared
|
|||
# +shm_unlink+ on +sem+.
|
||||
#
|
||||
# @return [Proc] a finalizer
|
||||
def self.make_finalizer(sem)
|
||||
proc { LibC.shm_unlink(sem) }
|
||||
def self.make_finalizer(sem) # already called in SharedMemory
|
||||
proc {}
|
||||
end
|
||||
|
||||
# Create a new semaphore with initial value +value+. After
|
||||
|
|
Loading…
Reference in New Issue