Skip to main content



      Home
Home » Archived » Riena » How to close Application correctly
How to close Application correctly [message #1630707] Mon, 23 February 2015 05:46 Go to next message
Eclipse UserFriend
Hi,
I build an application using Riena 5.0 on RAP, e3
I started with the example at: wiki.eclipse.org/Riena/Navigation
To see if the application exits correctly, e.g. when the browser reload-button is invoked, I put a breakpoint into the finalize methode of the SWTApplication class.
I wonder that the gc never calls the finalize. Hitting the browser-reload-button serveral times does invoke new Applications without garbage collecting them.

When i analysed the problem, I found that the
SWTApplication is referenced from AdvisorHelper,
AdvisorHelper is referenced from ApplicationAdvisor and ApplicationViewAdvisor
ApplicationAdvisor is referenced from Workbench

What is the correct way to close the session?

thx in advance!
Andreas
Re: How to close Application correctly [message #1631036 is a reply to message #1630707] Mon, 23 February 2015 09:53 Go to previous message
Eclipse UserFriend
Hi Andreas,

which version of RAP are you using ?

There is a Riena 6.0 Release out there from June 2014. Why dont you use that current release ? It has much better RAP support. Are you using RAP 2.3 or 2.3.1 which is from the same release train (Luna)

- christian
Previous Topic:Riena 5.0.0: No More Handles
Next Topic:riena.core deadlocks itself?
Goto Forum:
  


Current Time: Sat Jul 05 09:43:07 EDT 2025

Powered by FUDForum. Page generated in 0.14880 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top