Bug 1760894 - Change MOZ_RELEASE_ASSERT back to MOZ_ASSERT, r=necko-reviewers,dragana

This is a wallpaper patch, not a real fix.
This assertion was accidentally changed to `MOZ_RELEASE_ASSERT` in D135727.

Differential Revision: https://phabricator.services.mozilla.com/D141834
This commit is contained in:
Kershaw Chang 2022-03-23 12:20:30 +00:00
Родитель 8f86bd2092
Коммит eba077ec45
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -3265,7 +3265,7 @@ WebSocketChannel::Notify(nsITimer* timer) {
AbortSession(NS_ERROR_NET_TIMEOUT_EXTERNAL);
// mReconnectDelayTimer is only modified on MainThread
} else if (timer == mReconnectDelayTimer) {
MOZ_RELEASE_ASSERT(mConnecting == CONNECTING_DELAYED,
MOZ_ASSERT(mConnecting == CONNECTING_DELAYED,
"woke up from delay w/o being delayed?");
MOZ_ASSERT(NS_IsMainThread(), "not main thread");