lib/knj/objects.rb in knjrbfw-0.0.47 vs lib/knj/objects.rb in knjrbfw-0.0.48
- old
+ new
@@ -85,10 +85,10 @@
@objects[classname] = Wref_map.new
else
@objects[classname] = {}
end
- @locks[classname] = Mutex.new
+ @locks[classname] = Monitor.new
end
def uninit_class(classname)
@objects.delete(classname)
@locks.delete(classname)
\ No newline at end of file