Fix LyShine instance not being initialized (#1078)

This commit is contained in:
michabr
2021-06-01 15:48:57 -07:00
committed by GitHub
parent a3e73948c5
commit 5884fc1096
@@ -157,6 +157,7 @@ namespace LyShine
UiSystemBus::Handler::BusConnect();
UiSystemToolsBus::Handler::BusConnect();
UiFrameworkBus::Handler::BusConnect();
CrySystemEventBus::Handler::BusConnect();
// register all the component types internal to the LyShine module
// These are registered in the order we want them to appear in the Add Component menu
@@ -201,6 +202,7 @@ namespace LyShine
UiSystemToolsBus::Handler::BusDisconnect();
UiFrameworkBus::Handler::BusDisconnect();
LyShineRequestBus::Handler::BusDisconnect();
CrySystemEventBus::Handler::BusDisconnect();
LyShineAllocatorScope::DeactivateAllocators();
}