Skip to content

Commit 1b229ce

Browse files
committed
Removed debug code.
1 parent 4d1b887 commit 1b229ce

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Native/NativeHelper.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -442,13 +442,9 @@ public void EnumerateRemoteSectionsAndModules(IntPtr process, Action<Section> ca
442442
EnumerateRemoteSectionsAndModules(process, c1, c2);
443443
}
444444

445-
private readonly object sync = new object();
446445
public bool DisassembleCode(IntPtr address, int length, IntPtr virtualAddress, out InstructionData instruction)
447446
{
448-
lock (sync)
449-
{
450-
return disassembleCodeDelegate(address, (IntPtr)length, virtualAddress, out instruction);
451-
}
447+
return disassembleCodeDelegate(address, (IntPtr)length, virtualAddress, out instruction);
452448
}
453449

454450
public void ControlRemoteProcess(IntPtr process, ControlRemoteProcessAction action)

0 commit comments

Comments
 (0)