]> git.ipfire.org Git - thirdparty/wireguard-apple.git/commit
TunnelsManager: Fix race between multiple startActivation() calls
authorRoopesh Chander <roop@roopc.net>
Thu, 13 Dec 2018 18:04:00 +0000 (23:34 +0530)
committerRoopesh Chander <roop@roopc.net>
Thu, 13 Dec 2018 18:04:00 +0000 (23:34 +0530)
commit3bddab8a9e53a9bc5fe71bb558d4d23edf9643b5
tree2969dce94edba52ca621d3cbbe86a010e380e181
parentf9239dae751780efee17af31359413fc57e1e002
TunnelsManager: Fix race between multiple startActivation() calls

After startActivate() is called on a waiting tunnel, user might turn
on a different tunnel before the waiting tunnel's status gets updated.
This fix prevents that from happening.

Signed-off-by: Roopesh Chander <roop@roopc.net>
WireGuard/WireGuard/Tunnel/TunnelsManager.swift