Skip to content

Commit

Permalink
Fix wrong thread name in thread_checker (flutter#27545)
Browse files Browse the repository at this point in the history
  • Loading branch information
eggfly authored Jul 22, 2021
1 parent 95eea00 commit 6699f74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fml/memory/thread_checker.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ThreadChecker final {
char actual_thread[buffer_length];
if (0 == pthread_getname_np(current_thread, actual_thread,
buffer_length) &&
0 == pthread_getname_np(self_, actual_thread, buffer_length)) {
0 == pthread_getname_np(self_, expected_thread, buffer_length)) {
FML_DLOG(ERROR) << "IsCreationThreadCurrent expected thread: '"
<< expected_thread << "' actual thread:'"
<< actual_thread << "'";
Expand Down

0 comments on commit 6699f74

Please sign in to comment.