MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / ~GlobalCleanup

Method ~GlobalCleanup

server/faker.cpp:102–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 public:
101
102 ~GlobalCleanup()
103 {
104 faker::GlobalCriticalSection *gcs =
105 faker::GlobalCriticalSection::getInstance(false);
106 if(gcs) gcs->lock(false);
107 fconfig_deleteinstance(gcs);
108 deadYet = true;
109 if(gcs) gcs->unlock(false);
110 }
111};
112GlobalCleanup globalCleanup;
113

Callers

nothing calls this directly

Calls 3

fconfig_deleteinstanceFunction · 0.85
lockMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected