LYN-7473: Ensure Requestor background thread is shutdown correctly (#4744)
Signed-off-by: rppotter <rppotter@amazon.com>
This commit is contained in:
@@ -63,20 +63,17 @@ namespace HttpRequestor
|
||||
|
||||
void HttpRequestorSystemComponent::Reflect(AZ::ReflectContext* context)
|
||||
{
|
||||
if (AZ::SerializeContext* serialize = azrtti_cast<AZ::SerializeContext*>(context))
|
||||
if (auto serialize = azrtti_cast<AZ::SerializeContext*>(context))
|
||||
{
|
||||
serialize->Class<HttpRequestorSystemComponent, AZ::Component>()
|
||||
->Version(1);
|
||||
;
|
||||
|
||||
serialize->Class<HttpRequestorSystemComponent, AZ::Component>()->Version(1);
|
||||
|
||||
if (AZ::EditContext* ec = serialize->GetEditContext())
|
||||
{
|
||||
ec->Class<HttpRequestorSystemComponent>("HttpRequestor", "Will make HTTP Rest calls")
|
||||
->ClassElement(AZ::Edit::ClassElements::EditorData, "")
|
||||
// ->Attribute(AZ::Edit::Attributes::Category, "") Set a category
|
||||
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("System"))
|
||||
->Attribute(AZ::Edit::Attributes::AutoExpand, true)
|
||||
;
|
||||
// ->Attribute(AZ::Edit::Attributes::Category, "") Set a category
|
||||
->Attribute(AZ::Edit::Attributes::AppearsInAddComponentMenu, AZ_CRC("System"))
|
||||
->Attribute(AZ::Edit::Attributes::AutoExpand, true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user