Attempt to log before terminating if prevector allocation fails

This commit is contained in:
Jack Grigg
2018-04-26 11:30:33 +01:00
parent 3c9dbf3ed8
commit aeb089ecc7
4 changed files with 21 additions and 16 deletions

View File

@@ -53,6 +53,8 @@ extern bool fLogIPs;
extern std::atomic<bool> fReopenDebugLog;
extern CTranslationInterface translationInterface;
[[noreturn]] extern void new_handler_terminate();
/**
* Translation function: Call Translate signal on UI interface, which returns a boost::optional result.
* If no translation slot is registered, nothing is returned, and simply return the input.