Hello! When using ResourceManager, is there a way ...
# ask-community
m
Hello! When using ResourceManager, is there a way to make sure that the cleanup method is called when the flow is cancelled from the UI? From some testing I noticed that cleanup wasn't called before the flow was cancelled.
k
Hey @Martin I don’t think there is a way in general at the moment. Ideally the answer would be that a flow state handler is run, but the current logic circumvents the state handlers so there is no cleanup of compute. We do have this written down in our roadmap though
m
Ok, thanks for letting me know @Kevin Kho! Is there a public issue tracker we can reference so we know when to switch over things once the work is complete?
k
For this one not yet, but it will honestly be a while I think before this gets picked up
I can open one a bit later and ping you to chime in if you want
m
yeah no rush, but when you get to it, pinging this thread would be much appreciated! Thanks!