Store name of lite actors.

This commit is contained in:
levlam 2021-11-03 00:57:20 +03:00
parent f96d61dd4d
commit f964067da6

View File

@ -41,10 +41,10 @@ inline void ActorInfo::init(int32 sched_id, Slice name, ObjectPool<ActorInfo>::O
if (!is_lite) {
context_ = Scheduler::context()->this_ptr_.lock();
VLOG(actor) << "Set context " << context_.get() << " for " << name;
#ifdef TD_DEBUG
name_ = name.str();
#endif
}
#ifdef TD_DEBUG
name_.assign(name.data(), name.size());
#endif
actor_->init(std::move(this_ptr));
deleter_ = deleter;