MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / closeEmbeddedVFSArchive

Function closeEmbeddedVFSArchive

Engine/source/platformWin32/winVFS.cpp:93–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93void closeEmbeddedVFSArchive()
94{
95 if(gVFSState.mRefCount == 0)
96 return;
97
98 --gVFSState.mRefCount;
99
100 if(gVFSState.mRefCount < 1)
101 {
102 SAFE_DELETE(gVFSState.mZip);
103 SAFE_DELETE(gVFSState.mZipStream);
104
105 if(gVFSState.mResData)
106 {
107 FreeResource(gVFSState.mResData);
108 gVFSState.mResData = NULL;
109 }
110 }
111}

Callers 2

shutdownMethod · 0.85
handleCommandLineMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected