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:
verysecrethero
2016-01-07 14:50:13 +01:00
parent 0ae6c42df8
commit 85ff86a2fe
+1 -4
View File
@@ -3,10 +3,7 @@
BaseEventRelay::~BaseEventRelay() BaseEventRelay::~BaseEventRelay()
{ {
if (m_Broker != nullptr) { if (m_Broker != nullptr) {
//m_ContextRelays has already been destroyed at this point, since, m_Broker->Unsubscribe(*this);
//this BaseEventRelay is called after EventBroker has been deleted
//hence there is nothing to unsubscribe
//m_Broker->Unsubscribe(*this);
} }
} }