mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 02:48:51 +08:00
Remember to dispose text controllers
This commit is contained in:
@ -229,6 +229,14 @@ class _GitHostUserProvidedKeysState extends State<GitHostUserProvidedKeys> {
|
|||||||
_privateKeyController = TextEditingController();
|
_privateKeyController = TextEditingController();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@override
|
||||||
|
void dispose() {
|
||||||
|
_publicKeyController.dispose();
|
||||||
|
_privateKeyController.dispose();
|
||||||
|
|
||||||
|
super.dispose();
|
||||||
|
}
|
||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Container(
|
return Container(
|
||||||
|
Reference in New Issue
Block a user