summaryrefslogtreecommitdiff
path: root/src/appMain
diff options
context:
space:
mode:
authoriAndrew5 <abyzhynar@luxoft.com>2015-11-03 15:07:18 +0200
committeriAndrew5 <abyzhynar@luxoft.com>2015-11-03 15:07:18 +0200
commit0a3930d987af3ea7e37d61c0924a434358ebf0a9 (patch)
tree30826199475046715ea685c301b480317212d842 /src/appMain
parent9df10e76be277e3ca2519b68f6edee1c9fc1ff8e (diff)
downloadsdl_core-0a3930d987af3ea7e37d61c0924a434358ebf0a9.tar.gz
hotfix/Core_dump_by_SDL_start
Added Invoke of TimeManager::Start() method in life_cycle.cc before TimeManager::Init() to avoid using NULL pointer to streamer
Diffstat (limited to 'src/appMain')
-rw-r--r--src/appMain/life_cycle.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/appMain/life_cycle.cc b/src/appMain/life_cycle.cc
index fa8379c9e6..09095caff6 100644
--- a/src/appMain/life_cycle.cc
+++ b/src/appMain/life_cycle.cc
@@ -199,6 +199,7 @@ bool LifeCycle::StartComponents() {
// it is important to initialise TimeTester before TM to listen TM Adapters
#ifdef TIME_TESTER
time_tester_ = new time_tester::TimeManager();
+ time_tester_->Start();
time_tester_->Init(protocol_handler_);
#endif // TIME_TESTER
// It's important to initialise TM after setting up listener chain