test chat fix
This commit is contained in:
parent
9fb8fbec14
commit
2e064351a1
|
@ -141,8 +141,7 @@ public class ChatServlet extends HttpServlet
|
|||
AsyncContext async = request.startAsync();
|
||||
async.setTimeout(asyncTimeout);
|
||||
async.addListener(member);
|
||||
if (!member._async.compareAndSet(null, async))
|
||||
throw new IllegalStateException();
|
||||
member._async.set(async);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue