Remove isAsyncStarted assertion

Issue: SPR-14444
This commit is contained in:
Rossen Stoyanchev 2016-07-19 16:43:03 -04:00
parent a4743c07d4
commit 86c659f5c0
1 changed files with 0 additions and 1 deletions

View File

@ -105,7 +105,6 @@ public final class WebAsyncManager {
*/
public void setAsyncWebRequest(final AsyncWebRequest asyncWebRequest) {
Assert.notNull(asyncWebRequest, "AsyncWebRequest must not be null");
Assert.state(!isConcurrentHandlingStarted(), "Can't set AsyncWebRequest with concurrent handling in progress");
this.asyncWebRequest = asyncWebRequest;
this.asyncWebRequest.addCompletionHandler(new Runnable() {
@Override