Exemplo n.º 1
0
Request::~Request(void)
{
	Interface::Instance->remove(mUrlPrefix, this);
	unsubscribeAll();

	{
		std::unique_lock<std::mutex> lock(mMutex);
		mAutoDeleter.cancel();
	}
}
Exemplo n.º 2
0
void PdBase::clear() {	
    PdContext::instance().clear();
	unsubscribeAll();
}
void NetworkManager::subscribeExclusively(MessageHandler & handler)
{
	unsubscribeAll();
	subscribe(handler);
}
Exemplo n.º 4
0
void PdBase::clear() {
    _LOCK();
    PdContext::instance().clear();
    _UNLOCK();
    unsubscribeAll();
}
Exemplo n.º 5
0
	EventReceiver::~EventReceiver()
	{
		unsubscribeAll();
		m_subscriptions.clear();
	}