closed #4568: Application crashes on closing if CC_ENABLE_CACHE_TEXTURE_DATA is enabled.

CC_SAFE_RELEASE(_eventDispatcher); should be after 'delete _renderer;'
in Director's destructor.