wgengine: revert wgdev.Close on Close from last commit

Causes as-yet-unknown problems in some tests.

Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
This commit is contained in:
David Crawshaw 2020-02-25 17:00:37 -05:00
parent 9390a3ef55
commit 44670d0da9

View File

@ -564,7 +564,6 @@ func (e *userspaceEngine) Close() {
e.wgdev.IpcSetOperation(r)
e.linkMon.Close()
e.router.Close()
e.wgdev.Close()
e.magicConn.Close()
close(e.waitCh)
}