Skip to content

Commit

Permalink
Update src/java.net.http/share/classes/jdk/internal/net/http/RequestP…
Browse files Browse the repository at this point in the history
…ublishers.java
  • Loading branch information
dfuch authored Jan 22, 2025
1 parent 9c5f1c0 commit f559d95
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@ private boolean cancelSubscription(Flow.Subscription subscription) {
}
subscription.cancel();
}
// This nethod is called when cancel is true, so
// This method is called when cancel is true, so
// we should always stop the scheduler here
scheduler.stop();
return subscription != null;
Expand Down

0 comments on commit f559d95

Please sign in to comment.