Skip to content

Commit 01b15cd

Browse files
committed
Added assert for parent context
1 parent c47b589 commit 01b15cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

runtime/dynamic.template.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ const ecsact_system_execution_context* ecsact_system_execution_context_parent
136136
( ecsact_system_execution_context* context
137137
)
138138
{
139+
assert(context->impl->parent && "parent context is NULL");
139140
return context->impl->parent;
140141
}
141142

0 commit comments

Comments
 (0)