Commit 1810f1f
committed
Detach SVG TextIOWrapper after writing.
This leaves the owned-by-caller file object alone instead of forcing it
to close as well.
Fixes #6926, though I'm not entirely sure why only the cleanup decorator
+ usetex triggers it.1 parent 682a331 commit 1810f1f
1 file changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1205 | 1205 | | |
1206 | 1206 | | |
1207 | 1207 | | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
| 1214 | + | |
| 1215 | + | |
| 1216 | + | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
1208 | 1222 | | |
1209 | | - | |
| 1223 | + | |
1210 | 1224 | | |
1211 | 1225 | | |
1212 | 1226 | | |
| |||
0 commit comments