mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1250115 - initialized pollInterval with 0 in order to prevent garbage value if Poll(..) doesn't get called. r=dragana
MozReview-Commit-ID: HoMv3sBg74W
This commit is contained in:
parent
5f2eb05976
commit
c2a2694b10
@ -1067,9 +1067,9 @@ nsSocketTransportService::DoPollIteration(bool wait, TimeDuration *pollDuration)
|
||||
#endif
|
||||
|
||||
// Measures seconds spent while blocked on PR_Poll
|
||||
uint32_t pollInterval;
|
||||
|
||||
uint32_t pollInterval = 0;
|
||||
int32_t n = 0;
|
||||
*pollDuration = 0;
|
||||
#if !defined(MOZILLA_XPCOMRT_API)
|
||||
if (!gIOService->IsNetTearingDown()) {
|
||||
// Let's not do polling during shutdown.
|
||||
|
Loading…
Reference in New Issue
Block a user