diff --git a/mailnews/imap/src/nsImapProtocol.cpp b/mailnews/imap/src/nsImapProtocol.cpp index efd965c98f..892a912be7 100644 --- a/mailnews/imap/src/nsImapProtocol.cpp +++ b/mailnews/imap/src/nsImapProtocol.cpp @@ -1245,8 +1245,9 @@ nsImapProtocol::TellThreadToDie(bool aIsSafeToClose) { void nsImapProtocol::TellThreadToDie() { nsresult rv = NS_OK; - MOZ_DIAGNOSTIC_ASSERT(!NS_IsMainThread(), - "TellThreadToDie() should not be called from UI thread"); + MOZ_DIAGNOSTIC_ASSERT( + !NS_IsMainThread(), + "TellThreadToDie() should not be called from UI thread"); // prevent re-entering this method because it may lock the UI. if (m_inThreadShouldDie) return;