opt: streamController close

This commit is contained in:
guozhigq
2024-04-20 23:32:28 +08:00
parent 5f0bb44bf1
commit bc29f69133
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();
}
}