mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
testing skip
This commit is contained in:
1 parent
5050ce237c
commit
0890a643be
1 file changed
+3
@@ -772,6 +772,9 @@ export default class Player extends EventEmitter {
|
|||||||
|
|
||||||
if (this._mediaPlayer) {
|
if (this._mediaPlayer) {
|
||||||
try {
|
try {
|
||||||
|
if (this._mediaPlayer.fProc && !this._mediaPlayer.ffmpegFinished) {
|
||||||
|
try { this._mediaPlayer.fProc.kill("SIGKILL"); } catch (_) {}
|
||||||
|
}
|
||||||
await this._mediaPlayer.stop();
|
await this._mediaPlayer.stop();
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.error("[Player] Error stopping media player:", e.message);
|
logger.error("[Player] Error stopping media player:", e.message);
|
||||||
|
|||||||
Reference in new issue
Block a user