Does the finally block execute if the thread running the function is interrupted?

后端 未结 6 1146
执笔经年
执笔经年 2020-12-17 09:01

If I have a function with a try/finally section, and the thread running it is interrupted while in the try block, will the finally block execute before the interruption actu

6条回答
提交回复
热议问题