提交 235b1d01 编写于 作者: S Serge Rider

QM listener fix (sessions reopen)

上级 c292fa0b
......@@ -334,7 +334,12 @@ public class QMMCollectorImpl extends DefaultExecutionHandler implements QMMColl
// Cleanup closed sessions
synchronized (QMMCollectorImpl.this) {
for (Long sessionId : sessionsToClose) {
sessionMap.remove(sessionId);
final QMMSessionInfo session = sessionMap.get(sessionId);
if (session != null && !session.isClosed()) {
// It is possible (rarely) that session was reopened before event dispatcher run
// In that case just ignore it
sessionMap.remove(sessionId);
}
}
}
if (isRunning()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册