TF-3924 Thread Detail Memory leak resolve

This commit is contained in:
DatDang
2025-07-31 13:45:03 +07:00
committed by Dat H. Pham
parent d83e92bc5f
commit 0b17dc26e8
8 changed files with 38 additions and 55 deletions
@@ -58,4 +58,17 @@ class CalendarEventInteractorBindings extends InteractorsBindings {
Get.find<HtmlDataSource>(),
));
}
void dispose() {
Get.delete<CalendarEventDataSource>();
Get.delete<CalendarEventAPI>();
Get.delete<CalendarEventDataSourceImpl>();
Get.delete<ParseCalendarEventInteractor>();
Get.delete<AcceptCalendarEventInteractor>();
Get.delete<MaybeCalendarEventInteractor>();
Get.delete<RejectCalendarEventInteractor>();
Get.delete<AcceptCounterCalendarEventInteractor>();
Get.delete<CalendarEventRepository>();
Get.delete<CalendarEventRepositoryImpl>();
}
}
@@ -34,4 +34,12 @@ class MdnInteractorBindings extends InteractorsBindings {
void bindingsRepositoryImpl() {
Get.lazyPut(() => MdnRepositoryImpl(Get.find<MdnDataSource>()));
}
void dispose() {
Get.delete<MdnDataSource>();
Get.delete<MdnDataSourceImpl>();
Get.delete<SendReceiptToSenderInteractor>();
Get.delete<MdnRepository>();
Get.delete<MdnRepositoryImpl>();
}
}