tg_cli: minor improvements.
GitOrigin-RevId: e38a7bb448905c2ca87509bc6ddb03cfe98d4ad5
This commit is contained in:
parent
a4b67b9496
commit
763a88233e
@ -3704,10 +3704,10 @@ class CliClient final : public Actor {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool inited_ = false;
|
bool is_inited_ = false;
|
||||||
void loop() override {
|
void loop() override {
|
||||||
if (!inited_) {
|
if (!is_inited_) {
|
||||||
inited_ = true;
|
is_inited_ = true;
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
stdin_.flush_read().ensure();
|
stdin_.flush_read().ensure();
|
||||||
|
Loading…
Reference in New Issue
Block a user