| 206 | } |
| 207 | |
| 208 | void CScriptDictionary::Release() const |
| 209 | { |
| 210 | // We need to clear the GC flag |
| 211 | gcFlag = false; |
| 212 | if( asAtomicDec(refCount) == 0 ) |
| 213 | { |
| 214 | this->~CScriptDictionary(); |
| 215 | asFreeMem(const_cast<CScriptDictionary*>(this)); |
| 216 | } |
| 217 | } |
| 218 | |
| 219 | int CScriptDictionary::GetRefCount() |
| 220 | { |
no test coverage detected