Commit 9b97ab8
committed
Fix logging handler management when reloading
The main module was removing the `_logging` module without invoking
`plugin_unloaded`, which lead to the module being reloaded without the
previous handler being cleaned up and causing duplicate logging events,
especially when reloading the package with the
AutomaticPackageReloader.1 parent 2481199 commit 9b97ab8
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
0 commit comments