mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-23 18:16:18 +02:00
2.48
This commit is contained in:
parent
6292777c25
commit
ae8c8db98b
@ -120,7 +120,7 @@
|
||||
<Component class="javax.swing.JLabel" name="subtitle_label">
|
||||
<Properties>
|
||||
<Property name="font" type="java.awt.Font" editor="org.netbeans.beaninfo.editors.FontEditor">
|
||||
<Font name="Dialog" size="18" style="1"/>
|
||||
<Font name="Dialog" size="14" style="1"/>
|
||||
</Property>
|
||||
<Property name="foreground" type="java.awt.Color" editor="org.netbeans.beaninfo.editors.ColorEditor">
|
||||
<Color blue="66" green="66" red="66" type="rgb"/>
|
||||
|
@ -69,7 +69,7 @@ public final class AboutDialog extends javax.swing.JDialog {
|
||||
}
|
||||
});
|
||||
|
||||
subtitle_label.setFont(new java.awt.Font("Dialog", 1, 18)); // NOI18N
|
||||
subtitle_label.setFont(new java.awt.Font("Dialog", 1, 14)); // NOI18N
|
||||
subtitle_label.setForeground(new java.awt.Color(102, 102, 102));
|
||||
subtitle_label.setText("Made with love (and with no warranty) by tonikelope.");
|
||||
subtitle_label.setDoubleBuffered(true);
|
||||
|
@ -45,7 +45,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "2.47";
|
||||
public static final String VERSION = "2.48";
|
||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||
public static final int STREAMER_PORT = 1337;
|
||||
|
@ -382,7 +382,7 @@ abstract public class TransferenceManager implements Runnable, SecureSingleThrea
|
||||
});
|
||||
}
|
||||
|
||||
if (!isProvisioning_transferences() && !getTransference_provision_queue().isEmpty()) {
|
||||
if (!isRemoving_transferences() && !isProvisioning_transferences() && !getTransference_provision_queue().isEmpty()) {
|
||||
|
||||
setProvisioning_transferences(true);
|
||||
|
||||
@ -392,11 +392,6 @@ abstract public class TransferenceManager implements Runnable, SecureSingleThrea
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
while (isRemoving_transferences()) {
|
||||
|
||||
secureWait();
|
||||
}
|
||||
|
||||
while (!getTransference_provision_queue().isEmpty()) {
|
||||
Transference transference = getTransference_provision_queue().poll();
|
||||
|
||||
@ -416,18 +411,13 @@ abstract public class TransferenceManager implements Runnable, SecureSingleThrea
|
||||
|
||||
}
|
||||
|
||||
if (!isStarting_transferences() && !getTransference_waitstart_queue().isEmpty() && getTransference_running_list().size() < _max_running_trans) {
|
||||
if (!isRemoving_transferences() && !isStarting_transferences() && !getTransference_waitstart_queue().isEmpty() && getTransference_running_list().size() < _max_running_trans) {
|
||||
setStarting_transferences(true);
|
||||
|
||||
THREAD_POOL.execute(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
||||
while (isRemoving_transferences()) {
|
||||
|
||||
secureWait();
|
||||
}
|
||||
|
||||
while (!getTransference_waitstart_queue().isEmpty() && getTransference_running_list().size() < _max_running_trans) {
|
||||
|
||||
Transference transference = getTransference_waitstart_queue().poll();
|
||||
|
Loading…
x
Reference in New Issue
Block a user