Commit 5f6891e
committed
[Python] Fix global directory setting in
Doing `ROOT.gDirectory = ROOT.nullptr` is problematic because it
replaces the `TDirectoryPythonAdapter` instance that makes `gDirectory`
work as intended on the Python side, so this pattern can't be used.
Follows up on 2659fe3.root_module test1 parent b56b49e commit 5f6891e
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
0 commit comments