mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 00:17:32 +09:00
Fix some debug assertions.
refactored code porting in assertions causing debug build failures.
This commit is contained in:
parent
b06fd11d6f
commit
1868e88741
7 changed files with 7 additions and 9 deletions
|
|
@ -351,13 +351,13 @@ private:
|
|||
|
||||
void OnMsgInputPending()
|
||||
{
|
||||
MOZ_ASSERT(OnSocketThread(), "not on socket thread");
|
||||
NS_ASSERTION(PR_GetCurrentThread() == gSocketThread, "not on socket thread");
|
||||
if (mState == STATE_TRANSFERRING)
|
||||
mPollFlags |= (PR_POLL_READ | PR_POLL_EXCEPT);
|
||||
}
|
||||
void OnMsgOutputPending()
|
||||
{
|
||||
MOZ_ASSERT(OnSocketThread(), "not on socket thread");
|
||||
NS_ASSERTION(PR_GetCurrentThread() == gSocketThread, "not on socket thread");
|
||||
if (mState == STATE_TRANSFERRING)
|
||||
mPollFlags |= (PR_POLL_WRITE | PR_POLL_EXCEPT);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue