Commit Graph

3 Commits

Author SHA1 Message Date
mbalfour 5df82caef6 [LYN-3464] Vegetation unit tests intermittently failed due to an AssetManager bug. Inside the AssetContainer, if the root asset finished loading during the container initialization, the CheckReady() call at the end of initialization would detect the loaded asset, but would skip sending out notifications because the initialized flag wasn't set yet. This would lead to an extra asset reference remaining in the AssetManager itself, would would then cause errors when the asset handler for that asset got removed.
By setting the initialization flag before the CheckReady() call, the notifications get sent correctly, and no extra asset references remain.  This checkin also includes a unit test for the AssetManager that specifically forces this condition to happen and validates that it works correctly.
2021-05-04 09:04:18 -05:00
mbalfour c69a00fd80 [SPEC-6600] Disabling unit tests that intermittently fail AR runs. 2021-04-30 10:25:48 -05:00
alexpete a10351f38d Initial commit 2021-03-08 14:30:57 -08:00