mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
Fix ConcurentModificationException
This commit is contained in:
parent
a32b3af059
commit
bf7518e5d4
@ -223,7 +223,7 @@ public class TypeManager {
|
|||||||
* if any I/O error occur on loading or writing
|
* if any I/O error occur on loading or writing
|
||||||
*/
|
*/
|
||||||
void scanTypeHierarchy() throws IOException {
|
void scanTypeHierarchy() throws IOException {
|
||||||
for( StructType type : structTypes.values() ) {
|
for( StructType type : new ArrayList<>( structTypes.values() ) ) {
|
||||||
type.scanTypeHierarchy( options.functions, this, classFileLoader );
|
type.scanTypeHierarchy( options.functions, this, classFileLoader );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user