fix(app): unsubscribe ReactionController on modal close

Addresses a regression where the video modal close action (back button) could leave active subscriptions or state. This change ensures `ReactionController.unsubscribe()` is called within `hideModal()`.
This commit is contained in:
google-labs-jules[bot] committed 2026-01-24 19:09:31 +00:00
1 parent 9fb07c6ce2
commit f02bfc27bf
1 file changed
+3
+3
View File
@@ -394,6 +394,9 @@ class Application {
if (this.videoModal) {
this.videoModal.close();
}
if (this.reactionController) {
this.reactionController.unsubscribe();
}
// Also clear the active modal state if tracked elsewhere, though videoModal.close() usually handles it.
}