1
0
mirror of https://github.com/falk-werner/webfuse synced 2024-10-27 20:34:10 +00:00

chore: use interrupt function in tests

This commit is contained in:
Falk Werner 2020-03-07 17:13:16 +01:00
parent d2f078298e
commit e5da835e80
2 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ private:
{ {
std::lock_guard<std::mutex> lock(shutdown_lock); std::lock_guard<std::mutex> lock(shutdown_lock);
is_shutdown_requested = true; is_shutdown_requested = true;
wfp_client_interrupt(client);
} }
static void Run(Provider::Private * context) static void Run(Provider::Private * context)

View File

@ -61,6 +61,7 @@ private:
{ {
std::lock_guard<std::mutex> lock(shutdown_lock); std::lock_guard<std::mutex> lock(shutdown_lock);
is_shutdown_requested = true; is_shutdown_requested = true;
wf_server_interrupt(server);
} }
static void Run(Server::Private * context) static void Run(Server::Private * context)