forked from Automattic/node-canvas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 2738a70
fix resurface crash with png, svg canvases
Regressed in 3dca82a
This was originally added in
cfc6dfd, but I don't think that
assessment is right at least for the current bug: cairo_destroy,
called after the backend's SetWidth, still holds a reference
to the surface and calls the closure (presumably for leading
<svg> or something?).
I can't get it to happen consistently enough to write a test,
sadly.
Fixes Automattic#2520 1 parent 7a942d4 commit 2738a70
2 files changed
+2
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
22 | 22 |
| |
23 | 23 |
| |
24 | 24 |
| |
25 | + | ||
25 | 26 |
| |
26 | 27 |
| |
27 | 28 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
29 | + | ||
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
|
0 commit comments