I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 33b43f40 authored by zzz's avatar zzz
Browse files

try again to kill the i2psnarkurl files

parent 4336dc44
No related branches found
No related tags found
No related merge requests found
...@@ -211,6 +211,7 @@ public class I2PSnarkUtil { ...@@ -211,6 +211,7 @@ public class I2PSnarkUtil {
out.delete(); out.delete();
return null; return null;
} }
out.deleteOnExit();
String fetchURL = url; String fetchURL = url;
if (rewrite) if (rewrite)
fetchURL = rewriteAnnounce(url); fetchURL = rewriteAnnounce(url);
......
...@@ -346,7 +346,6 @@ public class TrackerClient extends I2PAppThread ...@@ -346,7 +346,6 @@ public class TrackerClient extends I2PAppThread
if (fetched == null) { if (fetched == null) {
throw new IOException("Error fetching " + s); throw new IOException("Error fetching " + s);
} }
fetched.deleteOnExit();
InputStream in = null; InputStream in = null;
try { try {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment