[Webkit-unassigned] [Bug 33004] NetworkStateNotifierWin.cpp doesn't work always

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 6 01:57:13 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=33004





--- Comment #7 from Patrick R. Gansterer <paroga at paroga.com>  2010-01-06 01:57:13 PST ---
(In reply to comment #6)
> NetworkStateNotifier is a singleton that is never destroyed. This code will
> never be called.
I'll remove the destructor.

> It seems like the real fix here is to call NotifyAddrChange again after we
> receive a notification. Why can't we just add another call to
> NotifyAddrChange/RegisterWaitForSingleObject inside addressChanged()?
To register again you must unregister first. This can only be done outside of
the callback, because UnregisterWait will return ERROR_IO_PENDING otherwise.
Maybe there is a working solution with RegisterWaitForSingleObject, but i
didn't tried it very hard, because RegisterWaitForSingleObject isn't available
on WinCE anyway.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list