Merge pull request #134 from vguzmanp/patch-1
release lock in table.drop()
This commit is contained in:
commit
7cf087d6a2
@ -45,6 +45,7 @@ class Table(object):
|
|||||||
self._is_dropped = True
|
self._is_dropped = True
|
||||||
self.database._tables.pop(self.table.name, None)
|
self.database._tables.pop(self.table.name, None)
|
||||||
self.table.drop(self.database.engine)
|
self.table.drop(self.database.engine)
|
||||||
|
self.database._release()
|
||||||
|
|
||||||
def _check_dropped(self):
|
def _check_dropped(self):
|
||||||
if self._is_dropped:
|
if self._is_dropped:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user