mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-21 23:19:09 +00:00
FIX: OSC TX and RX shutdown was swapped (#1352)
This commit is contained in:
committed by
GitHub
parent
6529a05e2a
commit
8f2a93d6a3
@@ -128,18 +128,18 @@ export class OscIntegration implements IIntegration<OscSubscription, OSCSettings
|
|||||||
}
|
}
|
||||||
|
|
||||||
private shutdownTX() {
|
private shutdownTX() {
|
||||||
logger.info(LogOrigin.Rx, 'Shutting down OSC integration');
|
if (this.oscClient) {
|
||||||
if (this.oscServer) {
|
logger.info(LogOrigin.Tx, 'Shutting down OSC integration');
|
||||||
this.oscServer?.shutdown();
|
this.oscClient?.close();
|
||||||
this.oscServer = null;
|
this.oscClient = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private shutdownRX() {
|
private shutdownRX() {
|
||||||
logger.info(LogOrigin.Tx, 'Shutting down OSC integration');
|
if (this.oscServer) {
|
||||||
if (this.oscClient) {
|
logger.info(LogOrigin.Rx, 'Shutting down OSC integration');
|
||||||
this.oscClient?.close();
|
this.oscServer?.shutdown();
|
||||||
this.oscClient = null;
|
this.oscServer = null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user