Fixed a race condition.
IIUC, the expectation here is that Queue.Executable will instantiate AsynchronousException as a handle, start something asynchronously (say send a JMS message) with a callback, and the callback will tickle AsynchronousException. So AsynchronousException might complete before it gets its executor set. This code change ensures that that case gets handled correctly.
Showing
想要评论请 注册 或 登录