govi20 edited a comment on issue #275:
URL: https://github.com/apache/tomcat/pull/275#issuecomment-616538397


   Thanks for the feedback. Looks like the first two steps are already covered 
in the code. Small refactoring would be to ensure interrupt is **not** called 
on executor thread.
   
   ```
   if (!usingExecutor && !t.isInterrupted()) {
          t.interrupt();
   }
   ```
   
   correct me if my understanding is not correct.


----------------------------------------------------------------
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to