完善 IViewHandler 资源释放逻辑