summaryrefslogtreecommitdiff
path: root/src/Task.cc
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-21 23:49:52 -0800
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-21 23:49:52 -0800
commit4fb18f31865f9766579d7221b040b1da9c98b561 (patch)
tree3ae77b80dd383c9c623c15c06e6144cfc084f228 /src/Task.cc
parenta46ed587d6bac9dcda69b56979b2f0398013b5ef (diff)
WebSockets can now send frames.
Diffstat (limited to 'src/Task.cc')
-rw-r--r--src/Task.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Task.cc b/src/Task.cc
index c97077b..9b15062 100644
--- a/src/Task.cc
+++ b/src/Task.cc
@@ -370,8 +370,7 @@ void * Balau::QueueBase::iPop(Events::Async * event, bool wait) {
m_lock.leave();
Task::operationYield(event, Task::INTERRUPTIBLE);
m_lock.enter();
- if (event->gotSignal())
- event->reset();
+ event->resetMaybe();
} else {
pthread_cond_wait(&m_cond, &m_lock.m_lock);
}