Don't try to get name of an empty actor.
This commit is contained in:
parent
c5c55092dd
commit
8c02d57443
@ -3328,7 +3328,9 @@ void Td::clear() {
|
|||||||
alarm_timeout_.cancel_timeout(PROMO_DATA_ALARM_ID);
|
alarm_timeout_.cancel_timeout(PROMO_DATA_ALARM_ID);
|
||||||
|
|
||||||
auto reset_actor = [&timer](ActorOwn<Actor> actor) {
|
auto reset_actor = [&timer](ActorOwn<Actor> actor) {
|
||||||
LOG(DEBUG) << "Start clearing " << actor.get().get_name() << timer;
|
if (!actor.empty()) {
|
||||||
|
LOG(DEBUG) << "Start clearing " << actor.get().get_name() << timer;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// close all pure actors
|
// close all pure actors
|
||||||
|
Loading…
Reference in New Issue
Block a user