blob: b8e631e596d7d5572c4f4fe9f85750d8a24d1e90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
/*
* Copyright (c) 2010-2015 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#include <Swiften/EventLoop/DummyEventLoop.h>
#include <iostream>
namespace Swift {
DummyEventLoop::DummyEventLoop() {
}
DummyEventLoop::~DummyEventLoop() {
boost::lock_guard<boost::mutex> lock(eventsMutex_);
if (!events_.empty()) {
std::cerr << "DummyEventLoop: Unhandled events at destruction time" << std::endl;
}
events_.clear();
}
}
|