Skip to content

Commit d98bd34

Browse files
committed
Remove isAsyncStarted assertion
Issue: SPR-14444
1 parent 940bdd8 commit d98bd34

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

spring-web/src/main/java/org/springframework/web/context/request/async/WebAsyncManager.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ public final class WebAsyncManager {
105105
*/
106106
public void setAsyncWebRequest(final AsyncWebRequest asyncWebRequest) {
107107
Assert.notNull(asyncWebRequest, "AsyncWebRequest must not be null");
108-
Assert.state(!isConcurrentHandlingStarted(), "Can't set AsyncWebRequest with concurrent handling in progress");
109108
this.asyncWebRequest = asyncWebRequest;
110109
this.asyncWebRequest.addCompletionHandler(new Runnable() {
111110
@Override

0 commit comments

Comments
 (0)