Commit 04881b20 authored by Florian Schulze's avatar Florian Schulze

Fix activity logs for non primary DBs (mount-points).

parent 1d3cf819
......@@ -312,6 +312,9 @@ class Connection(ExportImport, object):
# get back here.
else:
self._opened = None
am = self._db._activity_monitor
if am is not None:
am.closedConnection(self)
def db(self):
"""Returns a handle to the database this connection belongs to."""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment