brudo commented on pull request #59: URL: https://github.com/apache/activemq-nms-amqp/pull/59#issuecomment-780877854
@Havret the compiler will catch it if the await appears directly inside the same code block where the lock statement appeared; but as far as I understand, it's still invalid to await when inside a lock, even in the cases where the compiler can't detect it - as in the case where the await occurs in a different block, that gets invoked from inside the lock. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
