From 913d5d798e1777320a2064b9db442cb32ea91f1e Mon Sep 17 00:00:00 2001 From: Elizabeth Fong Date: Wed, 18 Oct 2006 21:45:40 +0000 Subject: [PATCH] update for SnarkShutdown constructor change --- .../com/threerings/getdown/launcher/TorrentDownloader.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/java/com/threerings/getdown/launcher/TorrentDownloader.java b/src/java/com/threerings/getdown/launcher/TorrentDownloader.java index dcb6cc4..f44518d 100644 --- a/src/java/com/threerings/getdown/launcher/TorrentDownloader.java +++ b/src/java/com/threerings/getdown/launcher/TorrentDownloader.java @@ -22,8 +22,7 @@ public class TorrentDownloader extends Downloader for (Resource resource : resources) { String url = resource.getRemote().toString() + ".torrent"; Snark snark = new Snark(url, null, -1, null, null); - SnarkShutdown snarkStopper = new SnarkShutdown(snark.storage, - snark.coordinator, snark.acceptor, snark.trackerclient, null); + SnarkShutdown snarkStopper = new SnarkShutdown(snark, null); Runtime.getRuntime().addShutdownHook(snarkStopper); _torrentmap.put(resource, snark); _stoppermap.put(resource, snarkStopper);