opt: streamController close

This commit is contained in:
guozhigq
2024-04-20 23:32:28 +08:00
parent c9bcece7b4
commit 26cc77fed3
7 changed files with 22 additions and 0 deletions

View File

@ -54,4 +54,10 @@ class RankController extends GetxController with GetTickerProviderStateMixin {
vsync: this,
);
}
@override
void onClose() {
searchBarStream.close();
super.onClose();
}
}