mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fixes https://github.com/flutter/flutter/issues/128746 Prints a warning the first time a platform channel sends a message from the wrong thread with instructions/link to the site about how to fix this.
12 lines
297 B
C++
12 lines
297 B
C++
// Copyright 2013 The Flutter Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "flutter/fml/memory/thread_checker.h"
|
|
|
|
namespace fml {
|
|
|
|
thread_local bool ThreadChecker::disable_next_failure_ = false;
|
|
|
|
}
|