mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +02:00
Fix server lint
This commit is contained in:
parent
4638cd713d
commit
99b757488c
19 changed files with 28 additions and 22 deletions
|
@ -259,7 +259,7 @@ export class PeerTubeServer {
|
|||
|
||||
const onPeerTubeExit = () => rej(new Error('Process exited:\n' + aggregatedLogs))
|
||||
const onParentExit = () => {
|
||||
if (!this.app || !this.app.pid) return
|
||||
if (!this.app?.pid) return
|
||||
|
||||
try {
|
||||
process.kill(self.app.pid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue