Skip to content

Commit

Permalink
patch 7.4.1370
Browse files Browse the repository at this point in the history
Problem:    The Python test script may keep on running.
Solution:   Join the threads. (Yasuhiro Matsumoto)
  • Loading branch information
brammool committed Feb 20, 2016
1 parent 42d38a2 commit ddbe7d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/testdir/test_channel.py
Expand Up @@ -192,3 +192,8 @@ def writePortInFile(port):

# Main thread terminates, but the server continues running
# until server.shutdown() is called.
try:
while server_thread.isAlive():
server_thread.join(1)
except (KeyboardInterrupt, SystemExit):
server.shutdown()
2 changes: 2 additions & 0 deletions src/version.c
Expand Up @@ -747,6 +747,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1370,
/**/
1369,
/**/
Expand Down

0 comments on commit ddbe7d2

Please sign in to comment.