Permalink
Browse files

Make stop() synchronous (with task shutdown)

  • Loading branch information...
fmoo committed Nov 6, 2012
1 parent 87994a6 commit 1806f031315ed597a853d034718ad8c421065560
Showing with 1 addition and 0 deletions.
  1. +1 −0 sparts/vservice.py
View
@@ -86,6 +86,7 @@ def stop(self):
self._stop = True
for t in reversed(self.tasks):
t.stop()
+ t.join()
def join(self):
try:

0 comments on commit 1806f03

Please sign in to comment.