From d648a4091e3d022098e0d52bd182ade6ab8e4772 Mon Sep 17 00:00:00 2001 From: Robert Haschke Date: Fri, 19 Oct 2018 01:32:38 +0200 Subject: [PATCH] guard use of introspection_ pointer --- core/src/task.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/task.cpp b/core/src/task.cpp index d0450da6..63f012f5 100644 --- a/core/src/task.cpp +++ b/core/src/task.cpp @@ -198,7 +198,8 @@ void Task::init() }, 1, UINT_MAX); // first time publish task - introspection_->publishTaskDescription(); + if (introspection_) + introspection_->publishTaskDescription(); } bool Task::canCompute() const