diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-12-22 23:05:18 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-12-22 23:05:18 +0100 |
commit | 3841260ef1f4e6d7e30e68d1ccae09bfbf176ceb (patch) | |
tree | eec7d03361f180a953ac4d2000d6b7b4e6a19c75 /logic/JavaChecker.cpp | |
parent | 42bc02dc8af3f9791bce1b797cbe78d6d2c66040 (diff) | |
download | MultiMC-3841260ef1f4e6d7e30e68d1ccae09bfbf176ceb.tar MultiMC-3841260ef1f4e6d7e30e68d1ccae09bfbf176ceb.tar.gz MultiMC-3841260ef1f4e6d7e30e68d1ccae09bfbf176ceb.tar.lz MultiMC-3841260ef1f4e6d7e30e68d1ccae09bfbf176ceb.tar.xz MultiMC-3841260ef1f4e6d7e30e68d1ccae09bfbf176ceb.zip |
Fix Java checker leaving behind temporary jar files
Diffstat (limited to 'logic/JavaChecker.cpp')
-rw-r--r-- | logic/JavaChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logic/JavaChecker.cpp b/logic/JavaChecker.cpp index 2b94fbb6..113974ff 100644 --- a/logic/JavaChecker.cpp +++ b/logic/JavaChecker.cpp @@ -99,6 +99,7 @@ void JavaChecker::error(QProcess::ProcessError err) if(err == QProcess::FailedToStart) { killTimer.stop(); + checkerJar.remove(); JavaCheckResult result; { @@ -116,6 +117,5 @@ void JavaChecker::timeout() if(process) { process->kill(); - process.reset(); } } |