tmf: Move creation of timer to init method instead of constructor
authorBernd Hufmann <Bernd.Hufmann@ericsson.com>
Mon, 27 Jan 2014 14:04:46 +0000 (09:04 -0500)
committerBernd Hufmann <bernd.hufmann@ericsson.com>
Tue, 28 Jan 2014 23:48:16 +0000 (18:48 -0500)
commit506219d0585d220611c9bdf08d4df990ab1df505
tree3180a2eccdf5309078b6c2a615c0839d7bef576b
parent4fc71fbca729b5284116f9a22ca4fb06f6f49f1c
tmf: Move creation of timer to init method instead of constructor

By the doing this, the timer is not running when creating trace
instances for validation.

Also, cancel timer when trace is disposed.

Change-Id: I4269ddb1faba771c039649d92f2e1477076668c8
Signed-off-by: Bernd Hufmann <Bernd.Hufmann@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/21138
Reviewed-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
IP-Clean: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Tested-by: Hudson CI
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/component/TmfEventProvider.java
This page took 0.027261 seconds and 5 git commands to generate.