Method: Gloo::Persist::PersistMan#unload

Defined in:
lib/gloo/persist/persist_man.rb

#unload(obj) ⇒ Object

The given object is unloading. Do any necessary clean up here.



69
70
71
72
73
74
75
76
# File 'lib/gloo/persist/persist_man.rb', line 69

def unload( obj )
  @maps.each_with_index do |o, i|
    if o.obj.pn === obj.pn
      @maps.delete_at( i )
      return
    end
  end
end