mirror of
https://github.com/servo/servo.git
synced 2025-06-04 07:35:36 +00:00
Remove CoreResourceMsg::Synchronize
(#37019)
This message is unused. Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
f7b16730be
commit
33a68eb2d5
2 changed files with 0 additions and 5 deletions
|
@ -445,9 +445,6 @@ impl ResourceChannelManager {
|
|||
history_states.remove(&history_state);
|
||||
}
|
||||
},
|
||||
CoreResourceMsg::Synchronize(sender) => {
|
||||
let _ = sender.send(());
|
||||
},
|
||||
CoreResourceMsg::ClearCache => {
|
||||
http_state.http_cache.write().unwrap().clear();
|
||||
},
|
||||
|
|
|
@ -517,8 +517,6 @@ pub enum CoreResourceMsg {
|
|||
SetHistoryState(HistoryStateId, Vec<u8>),
|
||||
/// Removes history states for the given ids
|
||||
RemoveHistoryStates(Vec<HistoryStateId>),
|
||||
/// Synchronization message solely for knowing the state of the ResourceChannelManager loop
|
||||
Synchronize(IpcSender<()>),
|
||||
/// Clear the network cache.
|
||||
ClearCache,
|
||||
/// Send the service worker network mediator for an origin to CoreResourceThread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue