Fix TempAuthKeyWatchdog release.

GitOrigin-RevId: 836bd0e2e53fcbf5f2253b25e05bcf8a83fba904
This commit is contained in:
levlam 2020-07-19 18:02:45 +03:00
parent 3bc52d545f
commit d7f44acf2e

View File

@ -3971,6 +3971,8 @@ void Td::clear() {
G()->set_connection_creator(ActorOwn<ConnectionCreator>());
LOG(DEBUG) << "ConnectionCreator was cleared " << timer;
G()->set_temp_auth_key_watchdog(ActorOwn<TempAuthKeyWatchdog>());
LOG(DEBUG) << "TempAuthKeyWatchdog was cleared " << timer;
// clear actors which are unique pointers
animations_manager_actor_.reset();