1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 13:21:00 +02:00
This commit is contained in:
Zack Scholl 2019-04-11 09:55:42 -07:00
parent 0804b04e6a
commit 625741a7a9

View file

@ -398,6 +398,7 @@ func (c *Client) processMessage(m Message) (err error) {
err = c.redisdb.Publish(c.nameOutChannel, Message{ err = c.redisdb.Publish(c.nameOutChannel, Message{
Type: "close-sender", Type: "close-sender",
}.String()).Err() }.String()).Err()
os.Exit(1)
case "datachannel-answer": case "datachannel-answer":
c.log.Debug("got answer:", m.Message) c.log.Debug("got answer:", m.Message)
// Apply the answer as the remote description // Apply the answer as the remote description