summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-09-01 22:16:49 +0200
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2012-09-01 22:16:49 +0200
commit0de06b7c51d77ef18897cf2410515aeeaf5bda49 (patch)
treec1b8155effdecdcc28ab01422efbc0e86b9e61f3 /tests
parentaaa4cb451c45407473b5ae5f55458e2e5559379c (diff)
Unless reset, async events will continuously return true on gotSignal().
Diffstat (limited to 'tests')
-rw-r--r--tests/test-Http.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-Http.cc b/tests/test-Http.cc
index 88d7a8d..941d6a8 100644
--- a/tests/test-Http.cc
+++ b/tests/test-Http.cc
@@ -147,6 +147,7 @@ void MainTask::Do() {
if (event.gotSignal()) {
TAssert(!gotEvent);
gotEvent = true;
+ event.reset();
}
if (stopperEvent.gotSignal()) {
TAssert(!gotStopperEvent);