Unloading http bind route.

This commit is contained in:
John Livingston 2021-04-15 13:11:59 +02:00
parent af46ecc3a2
commit 58b0a0cd69

View File

@ -225,6 +225,9 @@ async function ensureProsodyNotRunning (options: RegisterServerOptions): Promise
logger.debug('Calling prosodyctl to stop the process')
const status = await prosodyCtl(options, 'stop')
logger.info(`ProsodyCtl command returned: ${status.message}`)
logger.debug('Removing http-bind route')
changeHttpBindRoute(options, null)
}
export {