Preserve more exceptions in Half-Life MDL loader
parent
2a366388c2
commit
89e622060b
|
@ -175,9 +175,9 @@ void HL1MDLLoader::load_file() {
|
||||||
|
|
||||||
release_resources();
|
release_resources();
|
||||||
|
|
||||||
} catch (const std::exception &e) {
|
} catch (...) {
|
||||||
release_resources();
|
release_resources();
|
||||||
throw e;
|
throw;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue