catch exceptions thrown in whiteboard mapbuilder dtor
This commit is contained in:
parent
8231aa9345
commit
84b2cb2f67
1 changed files with 2 additions and 0 deletions
|
@ -48,8 +48,10 @@ mapbuilder::mapbuilder(unit_map& unit_map)
|
|||
|
||||
mapbuilder::~mapbuilder()
|
||||
{
|
||||
try {
|
||||
restore_normal_map();
|
||||
//Remember that the member variable resetters_ is destructed here
|
||||
} catch (...) {}
|
||||
}
|
||||
|
||||
void mapbuilder::pre_build()
|
||||
|
|
Loading…
Add table
Reference in a new issue