caspar: Fix slight bug?
This commit is contained in:
parent
0c840a51ab
commit
a829f35952
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue