diff options
author | 2018-12-11 17:48:34 +0530 | |
---|---|---|
committer | 2018-12-11 17:52:54 +0530 | |
commit | bde984625cf935162404387c184030b44b8de02d (patch) | |
tree | 0cbbb55d953e6656b67e6b148dde47500d1a4f29 /.gitignore | |
parent | TunnelsManager: Error out only on no-internet scenario (diff) | |
download | wireguard-apple-bde984625cf935162404387c184030b44b8de02d.tar.xz wireguard-apple-bde984625cf935162404387c184030b44b8de02d.zip |
State restoration: Don't create duplicate mainVC and tunnelsListVC
This creates a duplicate tunnels manager, leading to problems tracking
tunnel statuses.
To reproduce the bug that this commit fixes, you can do the following:
1. Remove all tunnels
2. Run in Xcode
3. Import zip with ~10 tunnels
4. Stop app in Xcode
5. Run in Xcode
6. Turn on 1st tunnel, after it's on, turn off
Turn on 2nd tunnel, after it's on, turn off
...
After 6-8 tunnels, the spinner doesn't show up, indicating that the
status is not being tracked.
Signed-off-by: Roopesh Chander <roop@roopc.net>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions