Sorry, actually now that I think about it, what would make the most sense is to destroy the table and reinitialize it here. Foreach_steal loops through all singlestep events and removes them one-by-one but since they have already been disabled by the driver in driver_shutdown_single_step it is safe to just destroy/reinit the hashtable.