aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-02-02 16:56:57 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-02-04 22:16:10 -0600
commitbb7d4bdc09d0b52a65b8cf3b5ae629f385fc8011 (patch)
tree6d144200ff008c8e8f1f74a51475c54b95f04912 /src/test
parentcc5fe7c79aad14819df1b4cb134884b80a945141 (diff)
downloadwix-bb7d4bdc09d0b52a65b8cf3b5ae629f385fc8011.tar.gz
wix-bb7d4bdc09d0b52a65b8cf3b5ae629f385fc8011.tar.bz2
wix-bb7d4bdc09d0b52a65b8cf3b5ae629f385fc8011.zip
Clean up synchronization between the engine and the BA.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/BurnUnitTest/PlanTest.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/BurnUnitTest/PlanTest.cpp b/src/test/BurnUnitTest/PlanTest.cpp
index fb4ca246..10b12e7b 100644
--- a/src/test/BurnUnitTest/PlanTest.cpp
+++ b/src/test/BurnUnitTest/PlanTest.cpp
@@ -529,7 +529,6 @@ namespace Bootstrapper
529 HRESULT hr = S_OK; 529 HRESULT hr = S_OK;
530 LPWSTR sczFilePath = NULL; 530 LPWSTR sczFilePath = NULL;
531 531
532 ::InitializeCriticalSection(&pEngineState->csActive);
533 ::InitializeCriticalSection(&pEngineState->userExperience.csEngineActive); 532 ::InitializeCriticalSection(&pEngineState->userExperience.csEngineActive);
534 533
535 hr = VariableInitialize(&pEngineState->variables); 534 hr = VariableInitialize(&pEngineState->variables);
@@ -567,6 +566,8 @@ namespace Bootstrapper
567 566
568 hr = DepDependencyArrayAlloc(&pRegistration->rgIgnoredDependencies, &pRegistration->cIgnoredDependencies, pRegistration->sczProviderKey, NULL); 567 hr = DepDependencyArrayAlloc(&pRegistration->rgIgnoredDependencies, &pRegistration->cIgnoredDependencies, pRegistration->sczProviderKey, NULL);
569 NativeAssert::Succeeded(hr, "Failed to add the bundle provider key to the list of dependencies to ignore."); 568 NativeAssert::Succeeded(hr, "Failed to add the bundle provider key to the list of dependencies to ignore.");
569
570 pEngineState->userExperience.fEngineActive = TRUE;
570 } 571 }
571 572
572 void DetectAttachedContainerAsAttached(BURN_ENGINE_STATE* pEngineState) 573 void DetectAttachedContainerAsAttached(BURN_ENGINE_STATE* pEngineState)