Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds preserve to signal created by manipulate
Stops issues with manipulate signals being garbage collected when they go out of scope. Fixes #115
- Loading branch information
e1259f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I explicitly say "using Reactive" I get "ERROR: UndefVarError: preserve not defined". Took a bit of digging to figure out where the heck the preserve function was supposed to come from.
e1259f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cheers. Was this in IJulia on julia 0.6? what version of IJulia are you using?
e1259f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
5.0 (sorry for not including this in the first place)
I... well dangit, now that I've explicitly imported Reactive once, I can no longer reproduce the error. Perhaps I'd never precompiled it before? Not sure.
e1259f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah I kinda thought that would be unlikely to be happening in general. But yeah, occasionally I see bugs like this (that I can never reproduce!) when I change versions of dependent packages. Anyway, glad it's working for you now.
e1259f1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.