mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 18:36:11 +02:00
The reason for calling `pullAb` twice is that when `pullAb` is called for the first time, `setCurrentName` is also called. In `setCurrentName`, if the current address book has not been initialized, it will also attempt to pull. Because `quiet` is false during the first call and `setCurrentName` is not `await` synchronously, the `abLoading` can prevent the two calls. However, `abLoading` depends on `quiet`, so we need to add a new variable `_abLoadingLock`. Signed-off-by: 21pages <sunboeasy@gmail.com> |
||
---|---|---|
.. | ||
common | ||
desktop | ||
mobile | ||
models | ||
native | ||
plugin | ||
utils | ||
web | ||
common.dart | ||
consts.dart | ||
main.dart |