diff options
| author | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-08-20 09:28:45 -0300 |
|---|---|---|
| committer | Janito Vaqueiro Ferreira Filho <janito@mullvad.net> | 2018-08-23 15:00:04 -0300 |
| commit | 5abf70718d7386559fcbf7310eab764124d0ed61 (patch) | |
| tree | 61d267554b6348ad208bd92f7363da9d8e7af716 /windows/nsis-plugins/src | |
| parent | 03e080066ca0e9bdbadb5cf192ff43efab1749ce (diff) | |
| download | mullvadvpn-5abf70718d7386559fcbf7310eab764124d0ed61.tar.xz mullvadvpn-5abf70718d7386559fcbf7310eab764124d0ed61.zip | |
Refactor tunnel monitoring by state machine
Remove `CloseHandle` and notify the tunnel that it should be closed when
entering the `DisconnectedState`. The `TunnelMonitor` thread is used to
notify when the tunnel has stopped, so all states should listen to the
`oneshot::Receiver` of the tunnel close event and handle it accordingly.
Diffstat (limited to 'windows/nsis-plugins/src')
0 files changed, 0 insertions, 0 deletions
