Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 200a3bb commit d99917fCopy full SHA for d99917f
flask_hypertable/flask_hypertable.py
@@ -67,7 +67,8 @@ def init_app(self, app):
67
app.teardown_request(self.teardown)
68
69
def __del__(self):
70
- self.close_app()
+ if self:
71
+ self.close_app()
72
73
def close_app(self):
74
""" shutdowns this instance, releasing the connection pool """
@@ -230,7 +231,8 @@ def close(self):
230
231
ThriftClient.close(self)
232
233
- self.close()
234
235
+ self.close()
236
237
238
class ManagedNamespaces(object):
0 commit comments