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:
parent
d2f078298e
commit
e5da835e80
@ -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)
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user