- // XXX We might roll onto a new sensor and get confused - should delay freeing blocks a bit
- for(list<BlockRef>::iterator i=rsv_blocks.begin(); i!=rsv_blocks.end(); ++i)
- i->block->reserve(0);
- rsv_blocks.clear();
+ trfc_mgr.get_control().set_timer(3*Time::sec).signal_timeout.connect(
+ sigc::bind_return(sigc::mem_fun(this, &Train::release_reserved_blocks), false));