Store name of lite actors.
This commit is contained in:
parent
f96d61dd4d
commit
f964067da6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user