void MmsServer_destroy(MmsServer self) { Map_deleteDeep(self->openConnections, false, closeConnection); Map_deleteDeep(self->valueCaches, false, deleteSingleCache); free(self); }
void MmsServer_destroy(MmsServer self) { Map_deleteDeep(self->openConnections, false, closeConnection); Map_deleteDeep(self->valueCaches, false, (void (*) (void*)) deleteSingleCache); Semaphore_destroy(self->modelMutex); free(self); }
void MmsValueCache_destroy(MmsValueCache self) { Map_deleteDeep(self->map, true, (void (*) (void*)) cacheEntryDelete); GLOBAL_FREEMEM(self); }
void MmsValueCache_destroy(MmsValueCache self) { Map_deleteDeep(self->map, true, (void (__cdecl*)(void*)) cacheEntryDelete); free(self); }