Beispiel #1
0
Request::~Request(void)
{
	Interface::Instance->remove(mUrlPrefix, this);
	unsubscribeAll();

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