We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8ca4de commit f819240Copy full SHA for f819240
Lib/blackrenderer/backends/skia.py
@@ -232,5 +232,5 @@ class SkiaSVGSurface(SkiaPDFSurface):
232
def _drawPictureToStream(self, picture, stream):
233
canvas = skia.SVGCanvas.Make(picture.cullRect(), stream)
234
canvas.drawPicture(picture)
235
- del canvas
+ del canvas # hand holding skia-python with GC: it needs to go before stream
236
stream.flush()
0 commit comments