aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/salticidae/event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/salticidae/event.h b/include/salticidae/event.h
index eb0b382..4dd00d7 100644
--- a/include/salticidae/event.h
+++ b/include/salticidae/event.h
@@ -605,7 +605,7 @@ class ThreadCall {
ThreadCall(size_t burst_size): burst_size(burst_size), stopped(false) {}
ThreadCall(const ThreadCall &) = delete;
ThreadCall(ThreadCall &&) = delete;
- ThreadCall(EventContext ec, size_t burst_size = 128): ec(ec), burst_size(burst_size) {
+ ThreadCall(EventContext ec, size_t burst_size = 128): ec(ec), burst_size(burst_size), stopped(false) {
q.reg_handler(ec, [this, burst_size=burst_size](queue_t &q) {
size_t cnt = 0;
Handle *h;