mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
Do not call setState if unmounted
Fixes APP-GV
This commit is contained in:
@ -63,6 +63,7 @@ class _GraphViewState extends State<GraphView> {
|
||||
super.initState();
|
||||
|
||||
widget.graph.addListener(() {
|
||||
if (!mounted) return;
|
||||
setState(() {});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user