We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b63973 commit 747682cCopy full SHA for 747682c
packages/ffmpeg/src/classes.ts
@@ -148,9 +148,9 @@ export class FFmpeg {
148
callback: LogEventCallback | ProgressEventCallback
149
) {
150
if (event === "log") {
151
- this.#logEventCallbacks.filter((f) => f !== callback);
+ this.#logEventCallbacks = this.#logEventCallbacks.filter((f) => f !== callback);
152
} else if (event === "progress") {
153
- this.#progressEventCallbacks.filter((f) => f !== callback);
+ this.#progressEventCallbacks = this.#progressEventCallbacks.filter((f) => f !== callback);
154
}
155
156
0 commit comments