提交 1fae168c 编写于 作者: B Boyang Jerry Peng 提交者: xiaolong.ran

Fix: don't set interrupt flag again after catching interrupt exception in Pulsar Client (#5643)


(cherry picked from commit b7b9926b)
上级 663d24f6
......@@ -232,7 +232,6 @@ public class PulsarClientException extends IOException {
} else if (t instanceof RuntimeException) {
throw (RuntimeException) t;
} else if (t instanceof InterruptedException) {
Thread.currentThread().interrupt();
return new PulsarClientException(t);
} else if (!(t instanceof ExecutionException)) {
// Generic exception
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册