summaryrefslogtreecommitdiffstats
path: root/generic/tclOOMethod.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclOOMethod.c')
-rw-r--r--generic/tclOOMethod.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclOOMethod.c b/generic/tclOOMethod.c
index 0f3d066..1797c6a 100644
--- a/generic/tclOOMethod.c
+++ b/generic/tclOOMethod.c
@@ -683,7 +683,7 @@ InvokeProcedureMethod(
* the next thing in the chain.
*/
- if (!((CallContext *)context)->oPtr->namespacePtr ||
+ if (TclOOObjectDestroyed(((CallContext *)context)->oPtr) ||
Tcl_InterpDeleted(interp)
) {
return TclNRObjectContextInvokeNext(interp, context, objc, objv,