mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Remove the unused native argument from spawn_named_with_send_on_failure.
This commit is contained in:
parent
76b0e2d3c7
commit
c4e44b568a
4 changed files with 4 additions and 5 deletions
|
@ -25,8 +25,7 @@ pub fn spawn_named_with_send_on_failure<T: Send>(name: &'static str,
|
|||
state: task_state::TaskState,
|
||||
f: proc(): Send,
|
||||
msg: T,
|
||||
dest: Sender<T>,
|
||||
_native: bool) {
|
||||
dest: Sender<T>) {
|
||||
let future_result = TaskBuilder::new().named(name).try_future(proc() {
|
||||
task_state::initialize(state);
|
||||
rtinstrument::instrument(f);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue