Remove and allow some dead code.

This commit is contained in:
Ms2ger 2016-06-08 14:48:49 +02:00
parent 8f2d624cbf
commit 1bc0862214
28 changed files with 20 additions and 152 deletions

View file

@ -31,7 +31,7 @@ impl<T: DomObject> SimpleWorkerErrorHandler<T> {
#[derive(Copy, Clone)]
pub struct SharedRt {
pub rt: *mut JSRuntime
rt: *mut JSRuntime
}
impl SharedRt {
@ -47,10 +47,6 @@ impl SharedRt {
JS_RequestInterruptCallback(self.rt);
}
}
pub fn rt(&self) -> *mut JSRuntime {
self.rt
}
}
#[allow(unsafe_code)]
unsafe impl Send for SharedRt {}