summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Examples/BenchTool/BenchTool.cpp')
-rw-r--r--Swiften/Examples/BenchTool/BenchTool.cpp8
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];