Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362204

Summary: [TMF] Pending requests not cancelled when opening an experiment
Product: z_Archived Reporter: Bernd Hufmann <bernd.hufmann>
Component: LinuxToolsAssignee: Bernd Hufmann <bernd.hufmann>
Status: CLOSED FIXED QA Contact: Francois Chouinard <fchouinard>
Severity: normal    
Priority: P3 CC: jjohnstn
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Fix for bug jjohnstn: iplog+

Description Bernd Hufmann CLA 2011-10-27 10:38:21 EDT
When opening an experiment while another experiment is being indexed the ongoing index request is not always cancelled. 

As a side effect, the progress monitor in the Eclipse GUI for the ongoing indexing won't stop.

How to reproduce:
Open an experiment or trace many times consecutively shortly after each other.
Comment 1 Bernd Hufmann CLA 2011-10-27 10:52:53 EDT
Created attachment 206075 [details]
Fix for bug

During experiment disposal, any requests in the TmfRequestExecutor queue will be cancelled before shutting down the executor. This patch fixes the thread leak in the experiment handling. It augments a previous committed fix ("Partial fix for thread leak in experiment andling").
Comment 2 Bernd Hufmann CLA 2011-10-27 10:58:02 EDT
Comment on attachment 206075 [details]
Fix for bug

Bug committed to master and stable-0.9 branches.
Comment 3 Bernd Hufmann CLA 2011-10-27 10:58:31 EDT
Bug fixed with committed patch.
Comment 4 Francois Chouinard CLA 2012-03-26 13:54:05 EDT
Delivered in 0.9.0