This commit is contained in:
aozhiwei 2023-05-24 22:01:02 +08:00
parent c1a4452086
commit a713a90c9e

View File

@ -30,6 +30,11 @@ Coroutine::Coroutine(std::function<void(Coroutine*)> cb)
CallEnter(sink); CallEnter(sink);
cb_(this); cb_(this);
CallExit(sink); CallExit(sink);
for (auto notifyer : notifyers_) {
if (!notifyer.expired()) {
//notifyer.lock()->
}
}
}); });
} }