1
0
forked from aniani/vim

patch 7.4.1291

Problem:    On MS-Windows the channel test server doesn't quit.
Solution:   Use return instead of break. (Ken Takata)
This commit is contained in:
Bram Moolenaar
2016-02-08 22:37:24 +01:00
parent cbebd4879c
commit b92abad0c5
2 changed files with 3 additions and 1 deletions

View File

@@ -133,7 +133,7 @@ class ThreadedTCPRequestHandler(socketserver.BaseRequestHandler):
elif decoded[1] == '!quit!':
# we're done
self.server.shutdown()
break
return
elif decoded[1] == '!crash!':
# Crash!
42 / 0