diff --git a/qnx/src/ipc3x_dev/ti/syslink/ipc/hlos/knl/MessageQCopy.c b/qnx/src/ipc3x_dev/ti/syslink/ipc/hlos/knl/MessageQCopy.c
index f41ec153034f1504f3358c58c9807c203778820e..c9fc272012dd07fa202434b711febc913df6280e 100644 (file)
MessageQCopy_module->mq[MessageQCopy_NS_PORT] = NULL;
}
- /* Check if any MessageQ instances have not been deleted so far.
- * If not, assert.
- */
+ /* Check if any MessageQ instances have not been deleted so far. */
for (i = 0 ; i < MessageQCopy_MAXMQS; i++) {
- GT_assert (curTrace,
- (MessageQCopy_module->mq [i] == NULL));
+ /*
+ * This is possible if recovery is performed and the app does
+ * not yet know about it, hence has not yet had a chance to
+ * clean up.
+ */
if (MessageQCopy_module->mq [i] != NULL) {
MessageQCopy_delete(&MessageQCopy_module->mq [i]);
MessageQCopy_module->mq [i] = NULL;