空指针整改

Signed-off-by: sodanotgreen <limengzheng@huawei.com>
This commit is contained in:
sodanotgreen
2024-05-07 16:12:03 +08:00
parent 7b761e9999
commit eeffbdc745
+1 -1
View File
@@ -2346,7 +2346,7 @@ void MainThread::HandleDumpHeap(bool isPrivate)
}
auto &runtime = app->GetRuntime();
if (runtime == nullptr) {
TAG_LOGE(AAFwkTag::APPKIT, "HandleDumpHeapPrepare runtime is nullptr");
TAG_LOGE(AAFwkTag::APPKIT, "HandleDumpHeap runtime is nullptr");
return;
}
auto taskFork = [&runtime, &isPrivate] {