This makes sure that the callback passed to the Transformer outlives the Transformer object itself. Previously, the implicit bound was only for the lifetime of the init call, and thus allowed creating callback closures that use dangling captured references.
Note that this breaks the API interface. Should I include a version bump to v0.13.0?
This makes sure that the callback passed to the
Transformer
outlives theTransformer
object itself. Previously, the implicit bound was only for the lifetime of the init call, and thus allowed creating callback closures that use dangling captured references.Note that this breaks the API interface. Should I include a version bump to v
0.13.0
?Fixes #102.