Exit Crash has been dealt with. There is no need to unsubscribe game since m_ContextRelays has already been destroyed at that point

This commit is contained in:
verysecrethero
2016-01-05 15:22:16 +01:00
parent 3678cceb1c
commit 0ae6c42df8
+4 -1
View File
@@ -3,7 +3,10 @@
BaseEventRelay::~BaseEventRelay()
{
if (m_Broker != nullptr) {
m_Broker->Unsubscribe(*this);
//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);
}
}