Add debug of strange crash.
GitOrigin-RevId: 401595954e851fe315253aa9221eaaea50783245
This commit is contained in:
parent
7e71d12423
commit
455622da65
@ -115,7 +115,8 @@ inline ActorId<> Actor::actor_id() {
|
||||
}
|
||||
template <class SelfT>
|
||||
ActorId<SelfT> Actor::actor_id(SelfT *self) {
|
||||
CHECK(static_cast<Actor *>(self) == this);
|
||||
CHECK(static_cast<Actor *>(self) == this)
|
||||
<< self << " " << static_cast<Actor *>(self) << " " << this << " " << empty();
|
||||
return ActorId<SelfT>(info_.get_weak());
|
||||
}
|
||||
|
||||
@ -124,7 +125,8 @@ inline ActorShared<> Actor::actor_shared() {
|
||||
}
|
||||
template <class SelfT>
|
||||
ActorShared<SelfT> Actor::actor_shared(SelfT *self, uint64 id) {
|
||||
CHECK(static_cast<Actor *>(self) == this);
|
||||
CHECK(static_cast<Actor *>(self) == this)
|
||||
<< self << " " << static_cast<Actor *>(self) << " " << this << " " << empty();
|
||||
return ActorShared<SelfT>(actor_id(self), id);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user