mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-06 03:39:51 +00:00
Revert change in Console::showException() from d0b39ebade7736d47e6b2450bf68b088c0da8e57
This commit is contained in:
parent
d0b39ebade
commit
a3072fba41
@ -177,9 +177,7 @@ void Console::printf(const char* format, ...)
|
||||
// static
|
||||
void Console::showException(const std::exception& e)
|
||||
{
|
||||
// TODO called from Session::deleteBackup() which is run in background thread
|
||||
//ui::assert_ui_thread();
|
||||
|
||||
ui::assert_ui_thread();
|
||||
if (!ui::is_ui_thread()) {
|
||||
LOG(ERROR, "A problem has occurred.\n\nDetails:\n%s\n", e.what());
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user