ProtoProxy: Removed the per-packet sleep from the DEBUG version.
It is now enabled by defining a macro, by default off.
This commit is contained in:
parent
111fd58914
commit
d9494ccf1e
@ -15,7 +15,14 @@
|
||||
|
||||
|
||||
|
||||
#ifdef _DEBUG
|
||||
/// When defined, the following macro causes a sleep after each parsed packet (DEBUG-mode only)
|
||||
// #define SLEEP_AFTER_PACKET
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#if defined(_DEBUG) && defined(SLEEP_AFTER_PACKET)
|
||||
#define DebugSleep Sleep
|
||||
#else
|
||||
#define DebugSleep(X)
|
||||
|
Loading…
Reference in New Issue
Block a user