mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
Fixed ConcurrentModificationException when using snapshots in the Byte
Viewer.
This commit is contained in:
@@ -52,7 +52,7 @@ public class ProgramByteViewerComponentProvider extends ByteViewerComponentProvi
|
||||
|
||||
protected DecoratorPanel decorationComponent;
|
||||
private WeakSet<NavigatableRemovalListener> navigationListeners =
|
||||
WeakDataStructureFactory.createSingleThreadAccessWeakSet();
|
||||
WeakDataStructureFactory.createCopyOnWriteWeakSet();
|
||||
|
||||
private CloneByteViewerAction cloneByteViewerAction;
|
||||
|
||||
@@ -564,9 +564,9 @@ public class ProgramByteViewerComponentProvider extends ByteViewerComponentProvi
|
||||
}
|
||||
}
|
||||
|
||||
protected ByteBlockChangeManager newByteBlockChangeManager(ProgramByteBlockSet blockSet,
|
||||
protected ByteBlockChangeManager newByteBlockChangeManager(ProgramByteBlockSet blocks,
|
||||
ByteBlockChangeManager bbcm) {
|
||||
return new ByteBlockChangeManager(blockSet, bbcm);
|
||||
return new ByteBlockChangeManager(blocks, bbcm);
|
||||
}
|
||||
|
||||
protected ProgramByteBlockSet newByteBlockSet(ByteBlockChangeManager changeManager) {
|
||||
|
||||
Reference in New Issue
Block a user