Skip to content

Commit 3fecb6f

Browse files
committed
Perhaps fix the confetti?
1 parent b2c6d41 commit 3fecb6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/effects/BaseContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export class BaseEffectContext {
109109

110110
// only redo when necessary
111111
requestAnimationFrame(() => {
112-
if (this.particles.length) {
112+
if (this.particles.length && !this.abortController.signal.aborted) {
113113
this.tick();
114114
} else {
115115
this.isTicking = false;

0 commit comments

Comments
 (0)