Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341868 - clean up RTServices.destroy
Summary: clean up RTServices.destroy
Status: RESOLVED FIXED
Alias: None
Product: eTrice
Classification: Modeling
Component: Core (show other bugs)
Version: 0.1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-05 03:25 EDT by Thomas Schuetz CLA
Modified: 2015-05-29 13:09 EDT (History)
1 user (show)

See Also:
hrr: indigo+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schuetz CLA 2011-04-05 03:25:09 EDT
RTServices.destroy only invalidates toplevel elements
the garbage collector will most probably fail in collecting the rest
destroy was introduced for the testcases that run in the same process. The singleton RTServices failed for multiple SubSystem Tests (integration.test)
Comment 1 Henrik Rentz-Reichert CLA 2013-01-17 09:56:08 EST
Is this report still valid?

I think the garbage collector will also recycle nested elements.
Comment 2 Thomas Schuetz CLA 2015-05-29 13:09:54 EDT
Situation has changed with new Java Generator generating hierarchically instead of flat.
Tested - works for me