src/CSLModels.cpp
void CSLModel::DecRefCnt ()
 {
     if (refCnt>0) {
         if (--refCnt == 0) {
             // reached zero...remember when for later garbage collection
             refZeroTs = GetMiscNetwTime();
         }
     } else {
         LOG_MSG(logWARN, WARN_REF_CNT_ZERO, cslId.c_str());
     }
 }
// Decrease the reference counter for Aircraft usage
Decrease the reference counter for Aircraft usage
Decrease the reference counter for Aircraft usage
void CSLModel::DecRefCnt ()
 {
     if (refCnt>0) {
         if (--refCnt == 0) {
             refZeroTs = GetMiscNetwTime();
         }
     } else {
         LOG_MSG(logWARN, WARN_REF_CNT_ZERO, cslId.c_str());
     }
 }
void CSLModel :: DecRefCnt ( ) { if ( refCnt > 0 ) { if ( -- refCnt == 0 ) { refZeroTs = GetMiscNetwTime ( ) ; } } else { LOG_MSG ( logWARN , WARN_REF_CNT_ZERO , cslId . c_str ( ) ) ; } }
Decrease the reference counter for Aircraft usage
Decrease the reference counter for Aircraft usage
// reached zero...remember when for later garbage collection