mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45:52 +01:00
Make ClassFileNameHandler thread-safe
This commit is contained in:
parent
d9e5b0a487
commit
2312848efc
@ -323,7 +323,7 @@ public class ClassFileNameHandler {
|
||||
super(parent, logicalName);
|
||||
}
|
||||
|
||||
public FileSystemEntry addChild(FileSystemEntry entry) {
|
||||
public synchronized FileSystemEntry addChild(FileSystemEntry entry) {
|
||||
String normalizedChildName = entry.getNormalizedName(false);
|
||||
Collection<FileSystemEntry> entries = children.get(normalizedChildName);
|
||||
if (entry instanceof DirectoryEntry) {
|
||||
|
Loading…
Reference in New Issue
Block a user