forked from External/ergo
touch should respect destroyed
This commit is contained in:
parent
e0e61907ce
commit
541a40b056
2 changed files with 5 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ func (socket *Socket) Write(lines []string) error {
|
|||
}
|
||||
|
||||
func (socket *Socket) readLines() {
|
||||
for !socket.closed {
|
||||
for {
|
||||
line, err := socket.reader.ReadString('\n')
|
||||
if err != nil {
|
||||
if DEBUG_NET {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue