summaryrefslogtreecommitdiffhomepage
path: root/windows/nsis-plugins/src/cleanup/stdafx.cpp
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-08-20 09:28:45 -0300
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2018-08-23 15:00:04 -0300
commit5abf70718d7386559fcbf7310eab764124d0ed61 (patch)
tree61d267554b6348ad208bd92f7363da9d8e7af716 /windows/nsis-plugins/src/cleanup/stdafx.cpp
parent03e080066ca0e9bdbadb5cf192ff43efab1749ce (diff)
downloadmullvadvpn-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/cleanup/stdafx.cpp')
0 files changed, 0 insertions, 0 deletions