Skip to content

Commit

Permalink
catch exceptions thrown from whitebaord future_map_if_active dtor
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeck88 committed Jun 8, 2014
1 parent 3c90eeb commit 2cf2025
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/whiteboard/manager.cpp
Expand Up @@ -1212,10 +1212,12 @@ future_map_if_active::future_map_if_active():

future_map_if_active::~future_map_if_active()
{
try {
if (!resources::whiteboard)
return;
if (!initial_planned_unit_map_ && resources::whiteboard->has_planned_unit_map())
resources::whiteboard->set_real_unit_map();
} catch (...) {}
}


Expand Down

0 comments on commit 2cf2025

Please sign in to comment.