Skip to content

Commit

Permalink
Make stop() synchronous (with task shutdown)
Browse files Browse the repository at this point in the history
  • Loading branch information
fmoo committed Nov 6, 2012
1 parent 87994a6 commit 1806f03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sparts/vservice.py
Expand Up @@ -86,6 +86,7 @@ def stop(self):
self._stop = True
for t in reversed(self.tasks):
t.stop()
t.join()

def join(self):
try:
Expand Down

0 comments on commit 1806f03

Please sign in to comment.