mirror of
https://github.com/servo/servo.git
synced 2025-09-23 21:30:09 +01:00
Implementing Close function and mark success tests.
This commit is contained in:
parent
701e678d8e
commit
d23ef77645
7 changed files with 29 additions and 19 deletions
|
@ -453,4 +453,10 @@ impl WorkerGlobalScope {
|
|||
pub fn set_devtools_wants_updates(&self, value: bool) {
|
||||
self.devtools_wants_updates.set(value);
|
||||
}
|
||||
|
||||
pub fn close(&self) {
|
||||
if let Some(ref closing) = self.closing {
|
||||
closing.store(true, Ordering::SeqCst);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue