mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-29 13:00:15 +02:00
7.35
-Transference Manager Fix
This commit is contained in:
parent
73bbc710d7
commit
509c24a16a
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>com.tonikelope</groupId>
|
<groupId>com.tonikelope</groupId>
|
||||||
<artifactId>MegaBasterd</artifactId>
|
<artifactId>MegaBasterd</artifactId>
|
||||||
<version>7.34</version>
|
<version>7.35</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -60,7 +60,7 @@ import javax.swing.UIManager;
|
|||||||
*/
|
*/
|
||||||
public final class MainPanel {
|
public final class MainPanel {
|
||||||
|
|
||||||
public static final String VERSION = "7.34";
|
public static final String VERSION = "7.35";
|
||||||
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
public static final boolean FORCE_SMART_PROXY = false; //TRUE FOR DEBUGING SMART PROXY
|
||||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||||
|
@ -843,19 +843,16 @@ abstract public class TransferenceManager implements Runnable, SecureSingleThrea
|
|||||||
synchronized (_transference_queue_sort_lock) {
|
synchronized (_transference_queue_sort_lock) {
|
||||||
Transference transference = getTransference_waitstart_queue().peek();
|
Transference transference = getTransference_waitstart_queue().peek();
|
||||||
|
|
||||||
if (transference == null) {
|
|
||||||
transference = getTransference_waitstart_aux_queue().peek();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (transference != null && !transference.isFrozen()) {
|
if (transference != null && !transference.isFrozen()) {
|
||||||
|
|
||||||
getTransference_waitstart_queue().remove(transference);
|
getTransference_waitstart_queue().poll();
|
||||||
getTransference_waitstart_aux_queue().remove(transference);
|
|
||||||
|
|
||||||
start(transference);
|
start(transference);
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
_frozen = true;
|
_frozen = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user