public override void Stop()
{
if(!_is_started) {
return;
}
_is_started = false;
// If two simulations exist in the same space, this could have been overwritten
var el_map = GetEdgeListenerList(_ta_type);
if(el_map.ContainsKey(LocalID)) {
if(el_map[LocalID] == this) {
el_map.Remove(LocalID);
}
}
ArrayList list = new ArrayList(_edges.Values);
foreach(Edge e in list) {
try {
e.Close();
} catch { }
}
}