mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-10-26 11:27:09 +00: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> |
||
|---|---|---|
| .. | ||
| ab_model.dart | ||
| chat_model.dart | ||
| cm_file_model.dart | ||
| desktop_render_texture.dart | ||
| file_model.dart | ||
| group_model.dart | ||
| input_model.dart | ||
| model.dart | ||
| native_model.dart | ||
| peer_model.dart | ||
| peer_tab_model.dart | ||
| platform_model.dart | ||
| printer_model.dart | ||
| server_model.dart | ||
| state_model.dart | ||
| user_model.dart | ||
| web_model.dart | ||