Allow for AZCoreLogSink::Disconnect() to be called more than once

Signed-off-by: Chris Burel <burelc@amazon.com>
This commit is contained in:
Chris Burel
2021-09-15 16:40:29 -07:00
parent 7c3f59ba5e
commit 33b86b567b
+1
View File
@@ -46,6 +46,7 @@ public:
{
GetInstance().BusDisconnect();
delete GetInstance().m_ignoredAsserts;
GetInstance().m_ignoredAsserts = nullptr;
}
static AZCoreLogSink& GetInstance()