Log if a forced_unwind exception is caught in game destructor.

This commit is contained in:
Pentarctagon 2022-02-04 13:40:12 -06:00
parent 44f18ea01c
commit 60e48e38c9
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -127,6 +127,8 @@ game::~game()
}
clear_history();
} catch(const boost::coroutines::detail::forced_unwind& e) {
ERR_GAME << "Caught forced_unwind in game destructor!\n";
} catch(...) {
}
}