You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Tools
lumberyard-employee-dm 090aa8f053
Removed ununeeded includes from EBus EBus.h and Policies.h (#4256)
* Removed ununeeded includes from EBus EBus.h and Policies.h

Updated the locations which needed those includes

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Adding missing include for <memory> to AWsClientAuthBus.h

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Remove the while true loop in the EBusQueuePolicy Execute() function

The while true loop in Execute was for allowing additional functions to be queued in the middle of execution of current list of functions.
That functionality was dangerous, because if a queued function added itself during execution unconditionally, then it would result in an infinite loop

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Updated the AssetManager::DispatchEvents function to pump the AssetBus event queue until empty

Queued Events on the AssetBus is able to queue additional events on that Bus during execution of those events.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Changed the AssetManager::DispatchEvents function to only execute the
AssetBus queued events once

Changed the AssetJobsFloodTest.AssetWithNoLoadReference_LoadDependencies_BehaviorObeyed test to dispatch events until the OnAssetContainerReady callback is signaled.

This happens after every asset load to make sure that the
expiring AssetContainer instances are removed from `AssetManager::m_ownedAssetContainer` container before retrying to load the same asset.

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>

* Added a MaxTimeoutSeconds constant for the maximum amount of the time to run a single DispatchEvents loop

Signed-off-by: lumberyard-employee-dm <56135373+lumberyard-employee-dm@users.noreply.github.com>
4 years ago
..
AWSNativeSDKInit others 4 years ago
Android/ProjectBuilder Fix remain copyright header issues for .in files (#4177) 4 years ago
AssetBundler Fix unused warnings release (#3677) 4 years ago
AssetProcessor Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
AzTestRunner Fixes for Android 4 years ago
BundleLauncher [Mac] Generate O3DE SDK app bundle that can be notarized and distributed (#4150) 4 years ago
CrashHandler small fix, everything compiling with VS2022 4 years ago
DeltaCataloger Code/Tools/DeltaCataloger 4 years ago
GridHub more fixes 4 years ago
ProjectManager Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
PythonBindingsExample Shorten copyright headers by splitting into 2 lines (#2213) 4 years ago
RemoteConsole Enables override/virtual warnings 4 years ago
SceneAPI Cleanup SerializeContext.h pt.1 (#4264) 4 years ago
SerializeContextTools Final fixes for MSVC 4 years ago
Standalone Removed ununeeded includes from EBus EBus.h and Policies.h (#4256) 4 years ago
TestImpactFramework Add deserialization to sequence reports. (#4018) 4 years ago
CMakeLists.txt [Mac] Generate O3DE SDK app bundle that can be notarized and distributed (#4150) 4 years ago