Skip to content
#

torrent

Here are 939 public repositories matching this topic...

atomashpolskiy
atomashpolskiy commented Dec 16, 2019

Because in CliClient.resume() we don't account for the case, when there is an exception in one of the async processing stages:

void resume() {
	...
	try {
		client.startAsync(state -> {
			printer.ifPresent(p -> p.print(state));
			if (!options.shouldSeedAfterDownloaded() && state.getPiecesRemaining() == 0) {
				runtime.shutdown();
			}
		}, 1000); // <-- CompletableFuture.w

Improve this page

Add a description, image, and links to the torrent topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the torrent topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.