| 1290 | } |
| 1291 | |
| 1292 | OPENVPN_CLIENT_EXPORT void OpenVPNClient::pause(const std::string& reason) |
| 1293 | { |
| 1294 | if (state->is_foreign_thread_access()) |
| 1295 | { |
| 1296 | ClientConnect* session = state->session.get(); |
| 1297 | if (session) |
| 1298 | session->thread_safe_pause(reason); |
| 1299 | } |
| 1300 | } |
| 1301 | |
| 1302 | OPENVPN_CLIENT_EXPORT void OpenVPNClient::resume() |
| 1303 | { |
no test coverage detected