diff options
author | Tobias Markmann <tm@ayena.de> | 2015-11-23 12:27:02 (GMT) |
---|---|---|
committer | Swift Review <review@swift.im> | 2015-12-17 18:30:00 (GMT) |
commit | 54b1a705c192c1c0afa3c71db393a275f25fc7ca (patch) | |
tree | 74c13bbf56cd4d8efd59c6f05015f0fc20825f0c /Swiften/EventLoop/DummyEventLoop.cpp | |
parent | 29e8802886c0cb881e08a60cf0ea104e67577253 (diff) | |
download | swift-54b1a705c192c1c0afa3c71db393a275f25fc7ca.zip swift-54b1a705c192c1c0afa3c71db393a275f25fc7ca.tar.bz2 |
Process multiple events at once inside EventLoop
Test-Information:
Unit and integration tests pass on OS X 10.10.5 and Debian 8.2.
UI remains responsive when transferring a file between two
Swift instances.
Change-Id: I7841347a5d6c55121e02e274a7087a2fc200f879
Diffstat (limited to 'Swiften/EventLoop/DummyEventLoop.cpp')
-rw-r--r-- | Swiften/EventLoop/DummyEventLoop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Swiften/EventLoop/DummyEventLoop.cpp b/Swiften/EventLoop/DummyEventLoop.cpp index 3675ead..45e9af7 100644 --- a/Swiften/EventLoop/DummyEventLoop.cpp +++ b/Swiften/EventLoop/DummyEventLoop.cpp @@ -19,13 +19,13 @@ DummyEventLoop::~DummyEventLoop() { } } void DummyEventLoop::processEvents() { while(hasEvents()) { hasEvents_ = false; - handleNextEvent(); + handleNextEvents(); } } bool DummyEventLoop::hasEvents() { boost::lock_guard<boost::mutex> lock(hasEventsMutex_); return hasEvents_; |