From 1aaadc84dd9a34a5df6b9dbef867bdaa46d07a30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Remko=20Tron=C3=A7on?= Date: Sat, 22 Jan 2011 13:26:37 +0100 Subject: Some small event loop tweaks. diff --git a/BuildTools/Eclipse/Swift (Windows Debug).launch b/BuildTools/Eclipse/Swift (Windows Debug).launch new file mode 100644 index 0000000..d1f0212 --- /dev/null +++ b/BuildTools/Eclipse/Swift (Windows Debug).launch @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Swiften/EventLoop/EventLoop.cpp b/Swiften/EventLoop/EventLoop.cpp index c6d42d8..69d8abe 100644 --- a/Swiften/EventLoop/EventLoop.cpp +++ b/Swiften/EventLoop/EventLoop.cpp @@ -21,6 +21,8 @@ EventLoop::~EventLoop() { } void EventLoop::handleEvent(const Event& event) { + //SWIFT_LOG(debug) << "Handling event " << event.id << std::endl; + if (handlingEvents_) { // We're being called recursively. Push in the list of events to // handle in the parent handleEvent() @@ -70,6 +72,7 @@ void EventLoop::postEvent(boost::function callback, boost::shared_ptr