Skip to content

Commit 8584e67

Browse files
author
Conor
committed
no bind
1 parent 1216892 commit 8584e67

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/core/schedule.cxx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ module;
22
#include "libfork/__impl/assume.hpp"
33
#include "libfork/__impl/compiler.hpp"
44
#include "libfork/__impl/exception.hpp"
5+
#include <cstddef>
56
export module libfork.core:schedule;
67

78
import std;
@@ -77,7 +78,7 @@ schedule(Sch &&sch, Fn &&fn, Args &&...args) -> schedule_result_t<Fn, context_t<
7778

7879
task.promise->frame.kind = category::root;
7980
task.promise->frame.parent = nullptr;
80-
task.promise->frame.cancel = &state->m_stop;
81+
task.promise->frame.cancel = nullptr;
8182

8283
LF_TRY {
8384
sch.post(sched_handle<context_type>{key(), &task.promise->frame});

0 commit comments

Comments
 (0)