Commit 1a5f2384 authored by Linshizhi's avatar Linshizhi

Handle case that no audio added.

parent 33d9964e
...@@ -283,7 +283,7 @@ BUILTIN(Close) { ...@@ -283,7 +283,7 @@ BUILTIN(Close) {
encoder = nullptr; encoder = nullptr;
inited = false; inited = false;
removeInputsAE(audioEffecter); if (audioEffecter) removeInputsAE(audioEffecter);
return *isolate->factory()->ToBoolean(true); return *isolate->factory()->ToBoolean(true);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment