Remove duplicate 'FML_DCHECK' in 'MessageLoopImpl::PostTask' (flutter/engine#34061)

This commit is contained in:
ColdPaleLight
2022-06-16 15:33:06 +08:00
committed by GitHub
parent 752159eb91
commit 412e090f98

View File

@@ -56,7 +56,6 @@ MessageLoopImpl::~MessageLoopImpl() {
void MessageLoopImpl::PostTask(const fml::closure& task,
fml::TimePoint target_time) {
FML_DCHECK(task != nullptr);
FML_DCHECK(task != nullptr);
if (terminated_) {
// If the message loop has already been terminated, PostTask should destruct
// |task| synchronously within this function.