added new event "framework.clear()"