diff --git a/runtime/worker.rs b/runtime/worker.rs index acb50dc305..abc907f6fc 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -35,7 +35,7 @@ use std::task::Poll; pub type FormatJsErrorFn = dyn Fn(&JsError) -> String + Sync + Send; -#[derive(Clone)] +#[derive(Clone, Default)] pub struct ExitCode(Arc); impl ExitCode {