diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/BurnUnitTest/PlanTest.cpp | 3 |
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) |