mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +00:00
set controller to null on dispose to prevent any attempts at use after the widget was disposed
This commit is contained in:
parent
2004abdfcc
commit
2e72a846a9
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ class _CustomTextButtonState extends State<_CustomTextButton>
|
|||
@override
|
||||
void dispose() {
|
||||
controller?.dispose();
|
||||
controller = null;
|
||||
super.dispose();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue