mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Remove useless anonymous functions of files
This commit is contained in:
parent
d7c01e7793
commit
9f10b2928d
37 changed files with 3115 additions and 3189 deletions
|
@ -1,18 +1,16 @@
|
|||
;(function () {
|
||||
'use strict'
|
||||
'use strict'
|
||||
|
||||
var logger = require('./logger')
|
||||
var logger = require('./logger')
|
||||
|
||||
var utils = {
|
||||
cleanForExit: cleanForExit
|
||||
}
|
||||
var utils = {
|
||||
cleanForExit: cleanForExit
|
||||
}
|
||||
|
||||
function cleanForExit (webtorrent_process) {
|
||||
logger.info('Gracefully exiting.')
|
||||
process.kill(-webtorrent_process.pid)
|
||||
}
|
||||
function cleanForExit (webtorrent_process) {
|
||||
logger.info('Gracefully exiting.')
|
||||
process.kill(-webtorrent_process.pid)
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
module.exports = utils
|
||||
})()
|
||||
module.exports = utils
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue