diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-09-01 22:16:49 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2012-09-01 22:16:49 +0200 |
commit | 0de06b7c51d77ef18897cf2410515aeeaf5bda49 (patch) | |
tree | c1b8155effdecdcc28ab01422efbc0e86b9e61f3 /tests | |
parent | aaa4cb451c45407473b5ae5f55458e2e5559379c (diff) |
Unless reset, async events will continuously return true on gotSignal().
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-Http.cc | 1 |
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); |