try to shutdown more safely so callbacks, etc don't try and use the read/write channels after they are closed
This commit is contained in:
@@ -26,7 +26,7 @@ type Connection struct {
|
||||
netsock net.Conn
|
||||
pread, pwrite chan string
|
||||
readerExit, writerExit, pingerExit chan bool
|
||||
endping chan bool
|
||||
endping, endread, endwrite chan bool
|
||||
|
||||
nick string //The nickname we want.
|
||||
nickcurrent string //The nickname we currently have.
|
||||
|
||||
Reference in New Issue
Block a user