forked from byterazor/EventManager
FIX: added missing method disconnect
This commit is contained in:
parent
9a0efd0b62
commit
437feb597d
@ -331,3 +331,8 @@
|
|||||||
participant->setManager(shared_from_this());
|
participant->setManager(shared_from_this());
|
||||||
participant->init();
|
participant->init();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void EventManager::Manager::disconnect(std::shared_ptr<EventManager::Participant> participant)
|
||||||
|
{
|
||||||
|
participant->setManager(nullptr);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user