🎥 Make videos programmatically with React
Update call-lambda.ts
Jonny Burger3a82f3861b58
diff --git a/packages/lambda/src/shared/call-lambda.ts b/packages/lambda/src/shared/call-lambda.tsindex cec8308aa1..0a88b740a1 100644--- a/packages/lambda/src/shared/call-lambda.ts+++ b/packages/lambda/src/shared/call-lambda.ts@@ -218,6 +218,7 @@ const callLambdaWithStreamingWithoutRetry = async <clear();};+ // @ts-expect-error - We are adding a listener to a global variableif (globalThis._dumpUnreleasedBuffers) {// @ts-expect-error - We are adding a listener to a global variable(globalThis._dumpUnreleasedBuffers as EventEmitter).addListener(@@ -258,6 +259,7 @@ const callLambdaWithStreamingWithoutRetry = async <// Don't put a `break` statement here, as it will cause the socket to not properly exit.}+ // @ts-expect-error - We are adding a listener to a global variableif (globalThis._dumpUnreleasedBuffers) {// @ts-expect-error - We are adding a listener to a global variable(globalThis._dumpUnreleasedBuffers as EventEmitter).removeListener(