servo/components
bors-servo d13aa55c2d
Auto merge of #29005 - BurtonQin:fix-double-lock, r=jdm
components/net: Fix a double-lock in image_cache

<!-- Please describe your changes on the following line: -->

Add fn `add_listener_with_store` which requires `self.store.lock()` before calling.
Use this function instead of `add_listener` on L555 because `self.store.lock()` is called before.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [] `./mach build -d` does not report any errors
- [] `./mach test-tidy` does not report any errors
- [X] These changes fix #29003 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because the fix is straightforward.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2022-10-25 19:41:09 -04:00
..
allocator
atoms Implement GPUUncapturedErrorEvent 2020-08-11 14:24:58 +05:30
background_hang_monitor fix(bhm): deliver exit signal reliably (for real) 2021-06-21 00:07:26 +09:00
bluetooth feat: shorten thread names 2021-07-19 00:57:48 +09:00
bluetooth_traits Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
canvas Update font-kit. 2022-04-01 01:00:18 -04:00
canvas_traits Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
compositing Update image/png. 2022-04-01 02:07:17 -04:00
config Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
config_plugins Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
constellation Update keyboard-types. 2022-04-01 00:35:22 -04:00
deny_public_fields
derive_common Miscellaneous build / tidy fixes. 2021-02-26 17:53:55 +01:00
devtools Upgrade Hyper 2022-01-16 09:34:17 -08:00
devtools_traits Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
dom_struct
domobject_derive More Cargo.toml cleanups 2020-05-14 22:20:18 -07:00
embedder_traits Update keyboard-types. 2022-04-01 00:35:22 -04:00
fallible More Cargo.toml cleanups 2020-05-14 22:20:18 -07:00
geometry
gfx chore(deps): bump smallvec from 0.6 to 1.9 in all local packages 2022-10-10 03:03:22 +09:00
gfx_traits Update webrender. 2020-06-11 14:07:39 -04:00
hashglobe Use SPDX license format 2022-10-10 15:48:05 -07:00
jstraceable_derive
layout chore(deps): bump smallvec from 0.6 to 1.9 in all local packages 2022-10-10 03:03:22 +09:00
layout_2020 Remove env_logger duplicate. 2022-04-01 02:26:19 -04:00
layout_thread Update html5ever/xml5ever. 2022-04-01 01:43:26 -04:00
layout_thread_2020 fixup! Update parking_lot. 2022-04-01 01:47:49 -04:00
layout_traits ensure clean shutdown of all threads running JS 2020-06-30 13:22:38 +08:00
malloc_size_of Use SPDX license format 2022-10-10 15:48:05 -07:00
media feat: shorten thread names 2021-07-19 00:57:48 +09:00
metrics Remove support for energy profiling 2020-06-04 16:39:08 +02:00
msg Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
net components/net: Fix a double-lock in image_cache 2022-10-10 05:36:36 +00:00
net_traits Auto merge of #28893 - EnnuiL:master, r=jdm 2022-08-15 18:16:23 -04:00
pixels More Cargo.toml updates 2020-05-30 18:18:57 -07:00
profile feat: shorten thread names 2021-07-19 00:57:48 +09:00
profile_traits Bump time to latest v0.1.x version. 2021-06-25 17:19:14 +01:00
rand
range More Cargo.toml updates 2020-05-30 18:18:57 -07:00
remutex Fix rust's remutex source code link 2020-06-01 21:24:05 +09:00
script chore(deps): bump smallvec from 0.6 to 1.9 in all local packages 2022-10-10 03:03:22 +09:00
script_layout_interface Update html5ever/xml5ever. 2022-04-01 01:43:26 -04:00
script_plugins fix(script_plugins): adapt to the new rustc lint API 2022-10-16 19:19:13 +09:00
script_traits chore(deps): bump smallvec from 0.6 to 1.9 in all local packages 2022-10-10 03:03:22 +09:00
selectors Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
servo Update keyboard-types. 2022-04-01 00:35:22 -04:00
servo_arc Use SPDX license format 2022-10-10 15:48:05 -07:00
size_of_test
std_test_override
style fixup! Update arrayvec. 2022-04-01 02:16:21 -04:00
style_derive Fix some Clippy lints. 2022-08-04 00:13:36 +08:00
style_traits Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
to_shmem Updated cssparser dependency to 0.29. 2021-11-18 16:16:46 +01:00
to_shmem_derive Fix warnings introduced in newer Rust Nightly 2021-02-25 15:36:03 +01:00
url feat: shorten thread names 2021-07-19 00:57:48 +09:00
webdriver_server Update cookie/hyper_serde. 2022-04-01 02:11:51 -04:00
webgpu chore(deps): bump smallvec from 0.6 to 1.9 in all local packages 2022-10-10 03:03:22 +09:00
webrender_surfman Update to winit 0.24. 2021-03-05 20:00:30 -05:00
webrender_traits Implement GPUSwapChain and GPUCanvasContext and interface with Webrender 2020-06-13 17:46:12 +05:30