Index: generic/nsf.c =================================================================== diff -u -r46e91441fa18c0dbcabc216779c00c607740a883 -r6af72689e664b5cfc44ff0526075367fa01947ba --- generic/nsf.c (.../nsf.c) (revision 46e91441fa18c0dbcabc216779c00c607740a883) +++ generic/nsf.c (.../nsf.c) (revision 6af72689e664b5cfc44ff0526075367fa01947ba) @@ -30159,6 +30159,7 @@ * physical destroy round, we can set the counter to an appropriate * value to ensure deletion. */ +#if defined(NSF_DEVELOPMENT) if (unlikely(object->refCount != 1)) { if (object->refCount > 1) { NsfLog(interp, NSF_LOG_WARN, "RefCount for obj %p %d (name %s) > 1", @@ -30169,6 +30170,7 @@ } /*object->refCount = 1;*/ } +#endif #if !defined(NDEBUG) if (unlikely(object->activationCount != 0)) {