Hi everybody,

I am fetch resources in JavaFlow that I need to free when I do not use them anymore. So I need to know what happens if a JavaFlow continuation expires (e.g. because the user decided that some other webpage is more interesting). Is there any way to make sure resources are freed? Currently I use something like:

        Resource r = null
        try {
                r = getResource();
                <LOGIG, SHOW FORMS, FLOW, ETC.>
        }
        catch (...) {
                ...
        }
        finally {
                r.free();
        }

But I have doubts that the finally block is executed if the continuation is abandoned. Any ideas?

Greets,

Richard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to