invokeOnewayImpl是否有必要使用SemaphoreReleaseOnlyOnce? #6848
Answered
by
xiaoyifang
2335119327
asked this question in
Q&A
-
![]() 对于release操作,能否直接使用try-catch-finally?在finally中进行release即可。 |
Beta Was this translation helpful? Give feedback.
Answered by
xiaoyifang
Jun 2, 2023
Replies: 1 comment 2 replies
-
请大佬们指教一下~ |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
应该不能, 看原逻辑,正常release是在异步回调里执行的。
如果在finally里释放,会造成提前释放。