Changeset 174 in tmcsimulator-scriptbuilder for trunk


Ignore:
Timestamp:
12/21/2019 08:33:16 AM (6 years ago)
Author:
sdanthin
Message:

TimeSlice?.java added a break statement to the removeCorrespondingAudioEvent function to prevent a concurrentModificationException from being thrown.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/scriptbuilder/structures/TimeSlice.java

    r167 r174  
    334334                    System.out.println("the event was deleted"); 
    335335                    events.remove(event); 
     336                    //this break prevents a ConcurrentModificationException. Not sure if this is logically okay. 
     337                    break; 
    336338                } 
    337339                 
Note: See TracChangeset for help on using the changeset viewer.