mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
The previous use of a static variable for the runtime prevented it from shutting down cleanly, because shutdown requires dropping or taking ownership of it. This PR switches the static variable to a handle only, and introduces a new trait to pass a handle to the async runtime to the constellation, where it can be shut-down along with other components and help reduce our count of still running threads after shutdown. Testing: manual testing, and covered by unit-test in net, and wpt tests. Fixes: part of - https://github.com/servo/servo/issues/30849 --------- Signed-off-by: gterzian <2792687+gterzian@users.noreply.github.com> |
||
---|---|---|
.. | ||
cookie.rs | ||
cookie_http_state.rs | ||
cookie_http_state_utils.py | ||
data_loader.rs | ||
fetch.rs | ||
file_loader.rs | ||
filemanager_thread.rs | ||
hsts.rs | ||
http_cache.rs | ||
http_loader.rs | ||
main.rs | ||
resource_thread.rs | ||
subresource_integrity.rs | ||
test.css | ||
test.jpeg |