fix: Missing mounted check

This commit is contained in:
Christian Pauly 2022-11-21 17:53:01 +01:00
parent 8c6fa06157
commit feabc428ba
1 changed files with 1 additions and 0 deletions

View File

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