mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix FileManager thread panic and other misc improvements
- Add shut down logic for FileManager thread - Add an unit test for filemanager_thread
This commit is contained in:
parent
caada0fb33
commit
96b2093121
6 changed files with 46 additions and 3 deletions
|
@ -51,8 +51,6 @@ impl File {
|
|||
pub fn new_from_selected(window: &Window, selected: SelectedFile) -> Root<File> {
|
||||
let name = DOMString::from(selected.filename.to_str().expect("File name encoding error"));
|
||||
|
||||
// FIXME: fix this after PR #11221 is landed
|
||||
let id = selected.id;
|
||||
let slice = DataSlice::empty();
|
||||
|
||||
let global = GlobalRef::Window(window);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue