diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-12-19 17:17:51 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-12-19 17:17:51 (GMT) |
commit | 775515df35bad313745efc26493399b63f43728c (patch) | |
tree | da818fa3f8ba5b21dbde81fd2d26d4b501475503 /Swiften/Examples | |
parent | d67ecb18c1178ecf69e6cb5e8c8ee1fecee35e4c (diff) | |
download | swift-775515df35bad313745efc26493399b63f43728c.zip swift-775515df35bad313745efc26493399b63f43728c.tar.bz2 |
Disabling timer in BenchTool.
Diffstat (limited to 'Swiften/Examples')
-rw-r--r-- | Swiften/Examples/BenchTool/BenchTool.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Swiften/Examples/BenchTool/BenchTool.cpp b/Swiften/Examples/BenchTool/BenchTool.cpp index 1dcc8c2..9b6f1ae 100644 --- a/Swiften/Examples/BenchTool/BenchTool.cpp +++ b/Swiften/Examples/BenchTool/BenchTool.cpp @@ -55,13 +55,7 @@ int main(int, char**) { clients[i]->connect(); } - { - Timer::ref timer = networkFactories.getTimerFactory()->createTimer(30000); - timer->onTick.connect(boost::bind(&SimpleEventLoop::stop, &eventLoop)); - timer->start(); - - eventLoop.run(); - } + eventLoop.run(); for (size_t i = 0; i < clients.size(); ++i) { delete clients[i]; |