Skip to content

Commit 1daa4f4

Browse files
committed
[Objective-C] Wrap undo actions in Objective-C processing
1 parent d18b770 commit 1daa4f4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

view/macho/objc.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1436,9 +1436,11 @@ void ObjCProcessor::ProcessObjCData()
14361436

14371437
PostProcessObjCSections(&reader);
14381438

1439+
auto id = m_data->BeginUndoActions();
14391440
m_symbolQueue->Process();
14401441
m_data->EndBulkModifySymbols();
14411442
delete m_symbolQueue;
1443+
m_data->CommitUndoActions(id);
14421444

14431445
auto meta = SerializeMetadata();
14441446
m_data->StoreMetadata("Objective-C", meta, true);

0 commit comments

Comments
 (0)