有些资源清理(如关闭文件)必须总是执行,即使有异常发生。
Some resource cleanup, such as closing a file, must always be executed even if an exception is thrown.
CDT 在元素首次打开时创建了一个信息对象,并在其关闭时对其进行资源清理。
The CDT creates an info object when the element is first opened and disposes of it when the element is closed.
发生这种情况时,控制区域在缺省情况下将终止服务区域,以清理环境并防止重要系统资源被阻塞。
When this happens, the control region will terminate the servant region by default, to clean up the environment and prevent important system resources from being locked.
应用推荐