You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im getting Cannot call write after a stream was destroyed in discord.js after doing <prism ffmpeg>.destroy() on dispatcher finish event
Steps to reproduce:
use prism ffmpeg and pass it into dispatcher, then destroy this ffmpeg on disaptcher finish (without it, ffmpegs does not despawn)
Further details:
Operating System: windows 10 home
Node.js version: 12.4.1
Commit I'm using: prism 1.2.0 (that one that comes with discord.js master)
My reason of creating this issue
i cant seem to destroy ffmpeg without errors so my question is how can i destroy it properly
// it happens only while piping ytdl to transcoder, using -i url in ffmpeg doesnt throw that
The text was updated successfully, but these errors were encountered:
Issue:
im getting
Cannot call write after a stream was destroyed
in discord.js after doing<prism ffmpeg>.destroy()
on dispatcher finish eventSteps to reproduce:
use prism ffmpeg and pass it into dispatcher, then destroy this ffmpeg on disaptcher finish (without it, ffmpegs does not despawn)
Further details:
My reason of creating this issue
i cant seem to destroy ffmpeg without errors so my question is how can i destroy it properly
// it happens only while piping ytdl to transcoder, using
-i url
in ffmpeg doesnt throw thatThe text was updated successfully, but these errors were encountered: