mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-03 23:30:46 +00:00
Bug 1270029 - Set mSignaled only if PR_Write succeeds. r=mcmanus
--HG-- extra : rebase_source : 43e7e5437728986c5c4c90c859b343467813b7b6
This commit is contained in:
parent
a708ef285b
commit
275c209d7d
@ -230,6 +230,7 @@ PollableEvent::Signal()
|
||||
if (status != 1) {
|
||||
NS_WARNING("PollableEvent::Signal Failed\n");
|
||||
SOCKET_LOG(("PollableEvent::Signal Failed\n"));
|
||||
mSignaled = false;
|
||||
}
|
||||
return (status == 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user