MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / Release

Method Release

src/server/angelscript/angelscript/source/as_context.cpp:249–260  ·  view source on GitHub ↗

interface

Source from the content-addressed store, hash-verified

247
248// interface
249int asCContext::Release() const
250{
251 int r = m_refCount.atomicDec();
252
253 if( r == 0 )
254 {
255 asDELETE(const_cast<asCContext*>(this),asCContext);
256 return 0;
257 }
258
259 return r;
260}
261
262// internal
263void asCContext::DetachEngine()

Callers 12

InternalResetMethod · 0.45
RemoveGlobalVarMethod · 0.45
ReleaseAllPropertiesMethod · 0.45
DestroyNewGarbageMethod · 0.45
DestroyOldGarbageMethod · 0.45
DetachEngineMethod · 0.45
PrepareMethod · 0.45
UnprepareMethod · 0.45
CleanReturnObjectMethod · 0.45
CleanArgsOnStackMethod · 0.45
CleanStackFrameMethod · 0.45

Calls 1

atomicDecMethod · 0.80

Tested by

no test coverage detected