summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Network/Timer.cpp')
-rw-r--r--Swiften/Network/Timer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Swiften/Network/Timer.cpp b/Swiften/Network/Timer.cpp
index 8999113..f3b296c 100644
--- a/Swiften/Network/Timer.cpp
+++ b/Swiften/Network/Timer.cpp
@@ -8,13 +8,13 @@ namespace Swift {
Timer::Timer(int milliseconds) :
timeout_(milliseconds), ioService_(0), thread_(0), timer_(0) {
- ioService_ = new boost::asio::io_service();
+ ioService_ = new boost::asio::io_service();
}
Timer::~Timer() {
//MainEventLoop::removeEventsFromOwner(shared_from_this());
- ioService_->stop();
- thread_->join();
+ ioService_->stop();
+ thread_->join();
delete timer_;
delete thread_;
delete ioService_;