From 8ed29d5a0c8cabee74184b1d7075f439f12c85c9 Mon Sep 17 00:00:00 2001 From: Jeremy Ong Date: Mon, 25 Oct 2021 12:17:28 -0600 Subject: [PATCH] Enable lifetime tethering of the AP by default After this change, the AssetProcessor process will be torn down by default after its parent process shuts down (if it was spawned by a parent process). Signed-off-by: Jeremy Ong --- .../AzFramework/Asset/AssetSystemComponentHelper_Windows.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/Framework/AzFramework/Platform/Windows/AzFramework/Asset/AssetSystemComponentHelper_Windows.cpp b/Code/Framework/AzFramework/Platform/Windows/AzFramework/Asset/AssetSystemComponentHelper_Windows.cpp index a3782ae081..2e2014df10 100644 --- a/Code/Framework/AzFramework/Platform/Windows/AzFramework/Asset/AssetSystemComponentHelper_Windows.cpp +++ b/Code/Framework/AzFramework/Platform/Windows/AzFramework/Asset/AssetSystemComponentHelper_Windows.cpp @@ -14,7 +14,7 @@ #include -AZ_CVAR(bool, ap_tether_lifetime, false, nullptr, AZ::ConsoleFunctorFlags::Null, +AZ_CVAR(bool, ap_tether_lifetime, true, nullptr, AZ::ConsoleFunctorFlags::Null, "If enabled, a parent process that launches the AP will terminate the AP on exit"); namespace AzFramework::AssetSystem::Platform