| 6140 | } |
| 6141 | |
| 6142 | void msCloseConnections(mapObj *map) { |
| 6143 | int i; |
| 6144 | layerObj *lp; |
| 6145 | |
| 6146 | for (i=0;i<map->numlayers;i++) { |
| 6147 | lp = (GET_LAYER(map, i)); |
| 6148 | |
| 6149 | /* If the vtable is null, then the layer is never accessed or used -> skip it |
| 6150 | */ |
| 6151 | if (lp->vtable) { |
| 6152 | lp->vtable->LayerCloseConnection(lp); |
| 6153 | } |
| 6154 | } |
| 6155 | } |
| 6156 | |
| 6157 | void initResultCache(resultCacheObj *resultcache) |
| 6158 | { |