Revert "Exit Crash has been dealt with. There is no need to unsubscribe game since m_ContextRelays has already been destroyed at that point"
This reverts commit 0ae6c42df8.
This commit is contained in:
@@ -3,10 +3,7 @@
|
||||
BaseEventRelay::~BaseEventRelay()
|
||||
{
|
||||
if (m_Broker != nullptr) {
|
||||
//m_ContextRelays has already been destroyed at this point, since,
|
||||
//this BaseEventRelay is called after EventBroker has been deleted
|
||||
//hence there is nothing to unsubscribe
|
||||
//m_Broker->Unsubscribe(*this);
|
||||
m_Broker->Unsubscribe(*this);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user