make sure /bridge reload works
This commit is contained in:
parent
51b184266b
commit
7b20616e0b
|
@ -39,6 +39,7 @@ class HttpStreamConnection(getClosure: () -> HttpGet,
|
|||
onClose()
|
||||
return
|
||||
} else {
|
||||
instance.debug("Bridge Connection accepted")
|
||||
setSuccess(true) //TODO: pass message
|
||||
}
|
||||
|
||||
|
|
|
@ -73,7 +73,7 @@ object MessageHandler {
|
|||
}
|
||||
|
||||
fun transmit(msg: ApiMessage) {
|
||||
if (connected && streamConnection.isAlive) {
|
||||
if ((connected || connecting) && streamConnection.isAlive) {
|
||||
instance.debug("Transmitting: " + msg)
|
||||
transmitMessage(msg)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue