From bb81281541c30667f4ff4bac288b9ca6b3b6039a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hauke=20Kr=C3=BCger?= Date: Fri, 9 Feb 2024 08:17:43 +0100 Subject: [PATCH] Minor bugfix - forgot the terminate function in Matlab template class --- .../jvxLexternalCall/include/CjvxMexCallsProfileTpl.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sources/jvxLibraries/jvxLexternalCall/include/CjvxMexCallsProfileTpl.h b/sources/jvxLibraries/jvxLexternalCall/include/CjvxMexCallsProfileTpl.h index 7ed4e3df..f29382a7 100644 --- a/sources/jvxLibraries/jvxLexternalCall/include/CjvxMexCallsProfileTpl.h +++ b/sources/jvxLibraries/jvxLexternalCall/include/CjvxMexCallsProfileTpl.h @@ -89,11 +89,16 @@ class CjvxMexCallsProfileTpl : public CjvxMexCallsTpl, public CjvxMexCallsPro res = local_deallocate_profiling(); } + CjvxMexCalls::postprocess_connect_icon_enter(_common_set_icon.theData_in); + JVX_SAFE_DELETE_2DFIELD(dbgFldCopyInputs, _common_set_icon.theData_in->con_params.number_channels); // Ignore all return values - if these functions fail we have a more severe problem!! - res = T::postprocess_connect_icon(JVX_CONNECTION_FEEDBACK_CALL(fdb)); + res = local_postprocess_connect_icon(JVX_CONNECTION_FEEDBACK_CALL(fdb)); + + res = T::postprocess_connect_icon(JVX_CONNECTION_FEEDBACK_CALL(fdb)); + res = CjvxMexCalls::postprocess_connect_icon_leave(_common_set_icon.theData_in); return res;