1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-14 14:24:10 +02:00

Added (partially-working) '-deterministic' debug cmd line param

This commit is contained in:
Brian Fiete 2021-01-30 14:43:10 -08:00
parent 5ac1bbf63f
commit 4678dcb9e5
3 changed files with 25 additions and 4 deletions

View file

@ -676,7 +676,7 @@ namespace IDE.Compiler
{
if ([Friend]mThreadWorker.mThreadRunning)
{
if (mNativeBfCompiler != null)
if ((mNativeBfCompiler != null) && (!gApp.mDeterministic))
BfCompiler_Cancel(mNativeBfCompiler);
}
}
@ -685,7 +685,7 @@ namespace IDE.Compiler
{
if ([Friend]mThreadWorker.mThreadRunning || [Friend]mThreadWorkerHi.mThreadRunning)
{
if (mNativeBfCompiler != null)
if ((mNativeBfCompiler != null) && (!gApp.mDeterministic))
BfCompiler_RequestFastFinish(mNativeBfCompiler);
}
}