mappers aren't cleared correctly, seems like leaking references

Issue #963 resolved
Former user created an issue

We're running our application in tests and repeatedly setup and tear down databases.

Currently (trunk in r4115) sqlalchemy.orm.clear_mappers() does not necessarily clear all mappers. It seems that somewhere in SQLAlchemy references to those mappers are leaking and the weak ref dictionary never gets cleared.

We're relatively sure that our application doesn't hold any references to the mappers anymore.

Comments (3)

  1. Former user Account Deleted

    I'd like to subscribe myself as cc (ct@gocept.com) but can't find a way to do that. If someone could (please) put me on CC.

  2. Log in to comment