mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Remove isAsyncStarted assertion
Issue: SPR-14444
This commit is contained in:
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user