This commit is contained in:
Nikita Mikhaylov 2019-07-31 17:18:59 +03:00
parent ad4459c4a2
commit cac7972837

View File

@ -1707,11 +1707,10 @@ std::shared_ptr<TextLog> Context::getTextLog()
{ {
auto lock = getLock(); auto lock = getLock();
if (!shared->system_logs) { if (!shared->system_logs)
if (auto log = shared->system_logs->text_log.lock()) { if (auto log = shared->system_logs->text_log.lock())
return log; return log;
}
}
return {}; return {};
} }