[profiler_capture_api] started migration of ProfilerRequests EBus to AZ::Interface
Signed-off-by: AMZN-ScottR <24445312+AMZN-ScottR@users.noreply.github.com>
This commit is contained in:
@@ -128,10 +128,18 @@ namespace Profiler
|
||||
|
||||
ProfilerSystemComponent::ProfilerSystemComponent()
|
||||
{
|
||||
if (AZ::Debug::ProfilerSystemInterface::Get() == nullptr)
|
||||
{
|
||||
AZ::Debug::ProfilerSystemInterface::Register(this);
|
||||
}
|
||||
}
|
||||
|
||||
ProfilerSystemComponent::~ProfilerSystemComponent()
|
||||
{
|
||||
if (AZ::Debug::ProfilerSystemInterface::Get() == this)
|
||||
{
|
||||
AZ::Debug::ProfilerSystemInterface::Unregister(this);
|
||||
}
|
||||
}
|
||||
|
||||
void ProfilerSystemComponent::Activate()
|
||||
|
||||
Reference in New Issue
Block a user