TF-3924 Thread Detail Memory leak resolve
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user