From 0086bd7036749c1e9bbdd493bbbc14815cececcb Mon Sep 17 00:00:00 2001 From: Michael Layzell Date: Mon, 17 Apr 2017 14:20:21 -0400 Subject: [PATCH] Bug 1168169 - Mark nsThreadShutdownContext::joiningThread as MOZ_UNSAFE_REF, r=froydnj MozReview-Commit-ID: 16ebijitZcz --- xpcom/threads/nsThread.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xpcom/threads/nsThread.cpp b/xpcom/threads/nsThread.cpp index 1472964956e4..8e9b257311f4 100644 --- a/xpcom/threads/nsThread.cpp +++ b/xpcom/threads/nsThread.cpp @@ -325,7 +325,8 @@ struct nsThreadShutdownContext // NB: This will be the last reference. NotNull> mTerminatingThread; - NotNull mJoiningThread; + NotNull MOZ_UNSAFE_REF("Thread manager is holding reference to joining thread") + mJoiningThread; bool mAwaitingShutdownAck; };