diff options
author | sebres <sebres@users.sourceforge.net> | 2019-11-14 17:06:06 (GMT) |
---|---|---|
committer | sebres <sebres@users.sourceforge.net> | 2019-11-14 17:06:06 (GMT) |
commit | cd53d3fee7846a5425f911a5b235772fdbadb593 (patch) | |
tree | 1851f2902bb2c9bacc2c667cf76ddab6c5107ea3 /generic/tclOOMethod.c | |
parent | c88983efc2fe395b804e7c1847d2b10114e9b5a9 (diff) | |
download | tcl-cd53d3fee7846a5425f911a5b235772fdbadb593.zip tcl-cd53d3fee7846a5425f911a5b235772fdbadb593.tar.gz tcl-cd53d3fee7846a5425f911a5b235772fdbadb593.tar.bz2 |
fixed SF [135804138e] -- no call of next possible after object namespace is deleted
Diffstat (limited to 'generic/tclOOMethod.c')
-rw-r--r-- | generic/tclOOMethod.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclOOMethod.c b/generic/tclOOMethod.c index 3e64ba2..fbd23c0 100644 --- a/generic/tclOOMethod.c +++ b/generic/tclOOMethod.c @@ -671,11 +671,11 @@ InvokeProcedureMethod( * call frame's lifetime). */ /* - * If the interpreter was deleted, we just skip to the next thing in the - * chain. + * If the object namespace (or interpreter) were deleted, we just skip to + * the next thing in the chain. */ - if (Tcl_InterpDeleted(interp)) { + if (!((CallContext *)context)->oPtr->namespacePtr) { return TclNRObjectContextInvokeNext(interp, context, objc, objv, Tcl_ObjectContextSkippedArgs(context)); } |