mitsuhiko/logbook — Issue #46: cyclic reference prevent calling of __del__()
Author: drakeguan
Created: 2011-11-28 16:59:58+00:00
State: open

```python
import sys
import logbook

h1 = logbook.FileHandler('/tmp/ooxx1')
h2 = logbook.FileHandler('/tmp/ooxx2')

h1.push_application()
sys.exit()
```

In the above code snippet, h2's destructor (well, the *_magic_del*) is called but not h1!

Is it because that *push_application* makes a cyclic reference?!