1
0
Fork 0
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:
Chocobozzz 2016-02-07 11:23:23 +01:00
parent d7c01e7793
commit 9f10b2928d
37 changed files with 3115 additions and 3189 deletions

View file

@ -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