Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trigger cleanup function also if cell is disabled #13

Open
schlichtanders opened this issue May 4, 2023 · 1 comment
Open

trigger cleanup function also if cell is disabled #13

schlichtanders opened this issue May 4, 2023 · 1 comment
Labels
bug Something isn't working upstream Requires fix in Pluto.jl

Comments

@schlichtanders
Copy link

Awesome tools!

I am experimenting with these hook mechanisms and realised that the cleanup function, e.g. specified to @use_effect won't trigger if the cell is disabled.

I guess that is a bug?

For instance if I use @use_task from PlutoLinks.jl which builds on top of @use_effect, the task won't be Interrupted if it is disabled. But disabling means it should not run, or?

@fonsp
Copy link
Member

fonsp commented May 9, 2023 via email

@Pangoraw Pangoraw added bug Something isn't working upstream Requires fix in Pluto.jl labels Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working upstream Requires fix in Pluto.jl
Projects
None yet
Development

No branches or pull requests

3 participants