* Closes a model and frees all related memory * @param modelID Model handle retrieved by OpenModel, model must be closed after use
(modelID: number)
| 1319 | * @param modelID Model handle retrieved by OpenModel, model must be closed after use |
| 1320 | */ |
| 1321 | CloseModel(modelID: number) { |
| 1322 | this.ifcGuidMap.delete(modelID); |
| 1323 | this.wasmModule.CloseModel(modelID); |
| 1324 | } |
| 1325 | |
| 1326 | /** |
| 1327 | * Closes all models and frees all related memory. Please note that after calling this you must call Init() again to ensure web-ifc is in a working state. |
no test coverage detected