From a713a90c9e92fcf3b017f278bb932e4514a918fa Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Wed, 24 May 2023 22:01:02 +0800 Subject: [PATCH] 1 --- server/robotserver/coroutine.cc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/server/robotserver/coroutine.cc b/server/robotserver/coroutine.cc index 25d70737..d510fd99 100644 --- a/server/robotserver/coroutine.cc +++ b/server/robotserver/coroutine.cc @@ -30,6 +30,11 @@ Coroutine::Coroutine(std::function cb) CallEnter(sink); cb_(this); CallExit(sink); + for (auto notifyer : notifyers_) { + if (!notifyer.expired()) { + //notifyer.lock()-> + } + } }); }