caspar: Fix slight bug?

This commit is contained in:
Jonatan Nilsson 2018-06-26 19:40:29 +00:00
parent 0c840a51ab
commit a829f35952

View file

@ -26,7 +26,7 @@ export async function connect() {
casparIsConnected = false
logger.info('CasparCG: Connectiong to', currentHost + ':' + 5250)
if (connection) {
if (connection && connection.close) {
await connection.close()
}