Commit 1a5f2384 authored by Linshizhi's avatar Linshizhi

Handle case that no audio added.

parent 33d9964e
......@@ -283,7 +283,7 @@ BUILTIN(Close) {
encoder = nullptr;
inited = false;
removeInputsAE(audioEffecter);
if (audioEffecter) removeInputsAE(audioEffecter);
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