]>
git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - helpers/utils.js
4 var logger
= require('./logger')
7 cleanForExit: cleanForExit
10 function cleanForExit (webtorrent_process
) {
11 logger
.info('Gracefully exiting.')
12 process
.kill(-webtorrent_process
.pid
)
15 // ---------------------------------------------------------------------------
17 module
.exports
= utils