-Fix
This commit is contained in:
tonikelope
2016-11-01 21:56:14 +01:00
parent 3a6b507f0e
commit 1844dee0c7
5 changed files with 13 additions and 8 deletions

View File

@ -483,14 +483,14 @@ public final class CryptTools {
}
} else {
throw new Exception(httppost.getURI().getAuthority() + " ELC server ERROR -> " + new String(out.toByteArray()));
throw new Exception(httppost.getURI().getAuthority() + " ELC SERVER ERROR " + new String(out.toByteArray()));
}
}
}
} catch (Exception ex) {
Logger.getLogger(MiscTools.class.getName()).log(Level.SEVERE, null, ex);
JOptionPane.showMessageDialog(main_panel.getView(), ex.getMessage(), "ELC decryption Error", JOptionPane.ERROR_MESSAGE);
JOptionPane.showMessageDialog(main_panel.getView(), ex.getMessage(), "ELC ERROR", JOptionPane.ERROR_MESSAGE);
}
}

View File

@ -1110,9 +1110,12 @@ public final class Download implements Transference, Runnable, SecureNotifiable
getView().stop("Stopping download safely, please wait...");
for (ChunkDownloader downloader : _chunkworkers) {
synchronized (this) {
downloader.secureNotify();
for (ChunkDownloader downloader : _chunkworkers) {
downloader.secureNotify();
}
}
secureNotify();

View File

@ -59,7 +59,7 @@ import static megabasterd.Transference.MAX_TRANSFERENCE_SPEED_DEFAULT;
*/
public final class MainPanel {
public static final String VERSION = "1.49";
public static final String VERSION = "1.50";
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
public static final int STREAMER_PORT = 1337;
public static final int WATCHDOG_PORT = 1338;

View File

@ -408,7 +408,6 @@ public final class SettingsDialog extends javax.swing.JDialog {
swingReflectionInvoke("setEnabled", remove_elc_account_button, (elc_model.getRowCount() > 0));
System.out.println("asasasf");
}
_remember_master_pass = true;

View File

@ -983,9 +983,12 @@ public final class Upload implements Transference, Runnable, SecureNotifiable {
getView().stop("Stopping upload safely, please wait...");
for (ChunkUploader uploader : _chunkworkers) {
synchronized (this) {
uploader.secureNotify();
for (ChunkUploader uploader : _chunkworkers) {
uploader.secureNotify();
}
}
secureNotify();