diff --git a/src/server/worker_task.rs b/src/server/worker_task.rs index 24cfab62..5dc215ff 100644 --- a/src/server/worker_task.rs +++ b/src/server/worker_task.rs @@ -602,18 +602,9 @@ struct WorkerTaskData { pub abort_listeners: Vec>, } -impl Drop for WorkerTask { - - fn drop(&mut self) { - println!("unregister worker"); - } -} - impl WorkerTask { pub fn new(worker_type: &str, worker_id: Option, auth_id: Authid, to_stdout: bool) -> Result, Error> { - println!("register worker"); - let upid = UPID::new(worker_type, worker_id, auth_id)?; let task_id = upid.task_id; @@ -692,8 +683,6 @@ impl WorkerTask { ) -> Result where F: Send + UnwindSafe + 'static + FnOnce(Arc) -> Result<(), Error> { - println!("register worker thread"); - let worker = WorkerTask::new(worker_type, worker_id, auth_id, to_stdout)?; let upid_str = worker.upid.to_string();