mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
stdout
This commit is contained in:
parent
0539e425d2
commit
1ceed5de35
1 changed files with 1 additions and 2 deletions
|
@ -102,8 +102,7 @@ func (c *Croc) client(role int, channel string) (err error) {
|
|||
case <-interrupt:
|
||||
// send Close signal to relay on interrupt
|
||||
log.Debugf("interrupt")
|
||||
c.cs.RWMutex.
|
||||
c.cs.Lock()
|
||||
c.cs.Lock()
|
||||
channel := c.cs.channel.Channel
|
||||
uuid := c.cs.channel.UUID
|
||||
// Cleanly close the connection by sending a close message and then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue