Skip to content
#

magnet

Here are 145 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 magnet 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 magnet topic, visit your repo's landing page and select "manage topics."

Learn more