Skip to content

Commit

Permalink
Remove confetti module from memory after sharing process
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro-balades committed Dec 29, 2024
1 parent b42adeb commit c5abd39
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/browser/base/zen-components/ZenRices.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,9 @@
document.getElementById("zen-rice-share-error").setAttribute("hidden", "true");
document.getElementById("zen-rice-share-success").setAttribute("hidden", "true");
document.getElementById("zen-rice-share-options").setAttribute("zen-collapsed", "true");

// Remove confetti module from memory
this.confetti = null;
}

cancel() {
Expand Down

0 comments on commit c5abd39

Please sign in to comment.