.SCORES. .FIX. Call finish once

This commit is contained in:
Nyo 2016-06-17 13:49:39 +02:00
parent 5e4f166212
commit 3fe7907cf1
2 changed files with 5 additions and 3 deletions

View File

@ -21,6 +21,7 @@ class asyncRequestHandler(tornado.web.RequestHandler):
except Exception as e:
yield tornado.gen.Task(self.captureException, exc_info=True)
finally:
if not self._finished:
self.finish()
@tornado.web.asynchronous
@ -31,6 +32,7 @@ class asyncRequestHandler(tornado.web.RequestHandler):
except Exception as e:
yield tornado.gen.Task(self.captureException, exc_info=True)
finally:
if not self._finished:
self.finish()
def asyncGet(self, *args, **kwargs):

View File

@ -1 +1 @@
1.3.0
1.3.1