tg_cli: do not call quit twice.
GitOrigin-RevId: 66de7284d0d4bb7006f5be9fdad74150bca3910f
This commit is contained in:
parent
21285a11e8
commit
cc64bd168b
@ -563,6 +563,10 @@ class CliClient final : public Actor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void quit() {
|
void quit() {
|
||||||
|
if (close_flag_) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
LOG(WARNING) << "QUIT";
|
LOG(WARNING) << "QUIT";
|
||||||
close_flag_ = true;
|
close_flag_ = true;
|
||||||
dump_memory_usage();
|
dump_memory_usage();
|
||||||
|
Reference in New Issue
Block a user