Skip to content

Commit

Permalink
TF-3479 Fix memory leak when open and close composer
Browse files Browse the repository at this point in the history
Signed-off-by: dab246 <[email protected]>
  • Loading branch information
dab246 committed Feb 27, 2025
1 parent 522101d commit 25a14a8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lib/features/composer/presentation/composer_bindings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,6 @@ class ComposerBindings extends BaseBindings {

Get.delete<FileUploader>(tag: composerId);

IdentityInteractorsBindings().dispose();
IdentityInteractorsBindings(composerId: composerId).dispose();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ void main() {
getRestoredDeletedMessageInteractor,
removeComposerCacheOnWebInteractor,
getAllIdentitiesInteractor,
composerManager,
);

when(emailReceiveManager.pendingSharedFileInfo).thenAnswer((_) => BehaviorSubject.seeded([]));
Expand Down

0 comments on commit 25a14a8

Please sign in to comment.