I am facing an issue with deleting / moving a file (Image) after I load it. I think the reason for that is that Image is still used by the UiPath memory (so it´s locked).
My question is what should I do to release the resource so I can delete the Image.
I tried to invoke Dispose() method, but it didn´t help (probably I done it wrong).
Setting Image variable to Nothing or either loading another Image didn´t help as well.
Sample workflow is here:
And the error:
I will really appreciate if you can help me out.