mirror of
https://github.com/matrix-construct/construct
synced 2024-12-28 00:14:07 +01:00
modules/s_fetch: Clear all requests on unload.
This commit is contained in:
parent
541dbadf2f
commit
40bc440133
1 changed files with 5 additions and 0 deletions
|
@ -74,6 +74,11 @@ ircd::m::fetch::fini()
|
|||
eval_context.terminate();
|
||||
request_context.join();
|
||||
eval_context.join();
|
||||
requests.clear();
|
||||
complete.clear();
|
||||
|
||||
assert(requests.empty());
|
||||
assert(complete.empty());
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in a new issue