Closed mirage007 closed 2 months ago
I forgot to thank you for this PR, sorry about that.
Thank you!
No problem! Glad to contribute!
On Tue, Apr 30, 2024, 11:34 AM Simon Høxbro Hansen @.***> wrote:
I forgot to thank you for this PR, sorry about that.
Thank you!
— Reply to this email directly, view it on GitHub https://github.com/holoviz/holoviews/pull/6212#issuecomment-2084946947, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAM6CQTCG7CDR54EZVEW6MTY75XSFAVCNFSM6AAAAABG47OXHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBUHE2DMOJUG4 . You are receiving this because you authored the thread.Message ID: @.***>
when the pause button is pressed, an exception is thrown that the callback is already removed. This is because it cannot find the the task object. the current code is giving it the wrong object for it to remove.
To fix, the animate task is stored in a dictionary so that it can be used later and removed as necessary.