mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
send a reply when thread is done exiting
fixed failing tests fix tests handle error instead of just unwrappng it create a channel per thread and update tests with a call to rx.recv().unwrap()
This commit is contained in:
parent
e8e7c6545d
commit
88980dc7a5
6 changed files with 33 additions and 11 deletions
|
@ -340,8 +340,9 @@ pub enum CoreResourceMsg {
|
|||
Cancel(ResourceId),
|
||||
/// Synchronization message solely for knowing the state of the ResourceChannelManager loop
|
||||
Synchronize(IpcSender<()>),
|
||||
/// Break the load handler loop and exit
|
||||
Exit,
|
||||
/// Break the load handler loop, send a reply when done cleaning up local resources
|
||||
// and exit
|
||||
Exit(IpcSender<()>),
|
||||
}
|
||||
|
||||
/// Initialized but unsent request. Encapsulates everything necessary to instruct
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue