mirror of
https://github.com/rustdesk/rustdesk.git
synced 2024-11-28 07:39:36 +08:00
Merge pull request #5301 from 21pages/fix
add missing Get.delete, android can update id controller
This commit is contained in:
commit
a35635f4bb
@ -77,6 +77,9 @@ class _ConnectionPageState extends State<ConnectionPage>
|
||||
_idController.dispose();
|
||||
_updateTimer?.cancel();
|
||||
windowManager.removeListener(this);
|
||||
if (Get.isRegistered<IDTextEditingController>()) {
|
||||
Get.delete<IDTextEditingController>();
|
||||
}
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
|
@ -196,6 +196,9 @@ class _ConnectionPageState extends State<ConnectionPage> {
|
||||
@override
|
||||
void dispose() {
|
||||
_idController.dispose();
|
||||
if (Get.isRegistered<IDTextEditingController>()) {
|
||||
Get.delete<IDTextEditingController>();
|
||||
}
|
||||
super.dispose();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user