fix: Missing mounted check

This commit is contained in:
Christian Pauly 2022-11-21 17:53:01 +01:00
parent 8c6fa06157
commit feabc428ba

View File

@ -96,6 +96,7 @@ class HomeserverPickerController extends State<HomeserverPicker> {
homeserverList, homeserverList,
timeout: const Duration(seconds: 10), timeout: const Duration(seconds: 10),
); );
if (!mounted) return;
setState(() { setState(() {
benchmarkResults = benchmark; benchmarkResults = benchmark;
}); });