-
Notifications
You must be signed in to change notification settings - Fork 52
Closed
Description
The garbage collector in newer Go (e.g. 1.5) got smarter. jerr sometimes gets collected and we crash.
Here:
Line 77 in a79c3a8
| var jerr C.struct_jpeg_error_mgr |
and here:
Line 57 in a79c3a8
| var jerr C.struct_jpeg_error_mgr |
It is possible the source/dest managers will have similar issues. I've added some ugly code to keep jerr and mgr referenced and the crashes went away.
Some related issues:
Metadata
Metadata
Assignees
Labels
No labels