mirror of
https://github.com/revanced/multidexlib2.git
synced 2025-05-11 11:54:27 +02:00
Do not create empty dex files
This commit is contained in:
parent
9b0b2dddeb
commit
d5bb069748
@ -85,6 +85,7 @@ public class DexIO {
|
||||
for (int i = 0; i < threadCount; i++) {
|
||||
final BatchedIterator<ClassDef> batchedIterator =
|
||||
new BatchedIterator<>(classIterator, lock, PER_THREAD_BATCH_SIZE);
|
||||
if (i != 0 && !batchedIterator.hasNext()) break;
|
||||
callables.add(new Callable<Void>() {
|
||||
@Override
|
||||
public Void call() throws IOException {
|
||||
|
Loading…
x
Reference in New Issue
Block a user