diff options
author | pooryorick <com.digitalsmarties@pooryorick.com> | 2019-11-15 13:50:39 (GMT) |
---|---|---|
committer | pooryorick <com.digitalsmarties@pooryorick.com> | 2019-11-15 13:50:39 (GMT) |
commit | a9b8d26a50d4c9e0a58a6ff5c9011a99ac256332 (patch) | |
tree | 3c21a5a3c38ef295dc57063bc6ebb88c2ea2644d /generic/tclOOMethod.c | |
parent | fd4529a067cf9290620d2873e8f31a4cc992efea (diff) | |
download | tcl-a9b8d26a50d4c9e0a58a6ff5c9011a99ac256332.zip tcl-a9b8d26a50d4c9e0a58a6ff5c9011a99ac256332.tar.gz tcl-a9b8d26a50d4c9e0a58a6ff5c9011a99ac256332.tar.bz2 |
Add TclOOObjectDestroyed to make logic more explicit. Renamed Deleted() to
Destructing(). No functiontional changes.
Diffstat (limited to 'generic/tclOOMethod.c')
-rw-r--r-- | generic/tclOOMethod.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclOOMethod.c b/generic/tclOOMethod.c index 0c5f4bb..6f2612c 100644 --- a/generic/tclOOMethod.c +++ b/generic/tclOOMethod.c @@ -675,7 +675,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, |