Skip to content
Snippets Groups Projects
Verified Commit b870e8b9 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: delete job need a job (nil pointer exception) #67

parent c465da9f
No related branches found
No related tags found
No related merge requests found
......@@ -151,6 +151,8 @@ func (m *Manager) DeleteJob(id JobID) error {
if job, ok = m.activeJobs[id]; ok {
_ = m.removeJobInternal(id)
} else {
job = GenericJob(&Job[any]{id: id})
}
if m.jobSyncer != nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment