fix(commons): fix OOB for AsyncRequest.start
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2023-10-21 14:50:15 +02:00
parent 3bca0879bf
commit 7ae4cd55b6
Signed by: Johannes
GPG Key ID: E76429612C2929F4
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ public class AsyncRequest {
}
private void start() {
Future<Void>[] tasks = new Future[0];
Future<Void>[] tasks = new Future[1];
future = tasks[0] = action.schedule(new Context() {
@Override
public boolean isCancelled() {