diff --git a/runtime/worker.rs b/runtime/worker.rs index fd937559f3..f9274babe9 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 {