tailscale/wgengine/monitor
Andrew Dunham 0d47cd2284 wgengine/monitor: fix panic due to race on Windows
It's possible for the 'somethingChanged' callback to be registered and
then trigger before the ctx field is assigned; move the assignment
earlier so this can't happen.

Change-Id: Ia7ee8b937299014a083ab40adf31a8b3e0db4ec5
Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
2022-12-13 13:28:12 -05:00
..
monitor_darwin_test.go wgengine/monitor: add skipped failing test for Darwin route message bug 2021-03-02 09:53:36 -08:00
monitor_darwin.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
monitor_freebsd.go wgengine/monitor: ignore OS-specific uninteresting interfaces 2022-04-20 12:32:15 -07:00
monitor_linux_test.go all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
monitor_linux.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
monitor_polling.go all: remove old +build tags 2022-11-04 07:25:42 -07:00
monitor_test.go wgengine{,/monitor}: restore Engine.LinkChange, add Mon.InjectEvent 2021-03-03 22:09:02 -08:00
monitor_windows.go wgengine/monitor: fix panic due to race on Windows 2022-12-13 13:28:12 -05:00
monitor.go util/set: add new set package for SetHandle type 2022-11-28 10:44:17 -08:00
polling.go all: remove old +build tags 2022-11-04 07:25:42 -07:00