if (req.getAttribute(ATMOSPHERE) == null) {
return;
}
CometHandler handler = getCometHandler(ctx, (Integer) req.getAttribute(ATMOSPHERE));
req.removeAttribute(ATMOSPHERE);
if (handler != null) {
try {
ctx.resumeCometHandler(handler);
} catch (IOException e) {