Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/libs/converter
9 changes: 8 additions & 1 deletion src/services/Geant4LocalWorkerSimulationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,13 @@ export default class Geant4LocalWorkerSimulationService implements SimulationSer
}

cancelJob(info: SimulationInfo, signal?: AbortSignal | undefined): Promise<void> {
throw new Error('Method not implemented.');
const { jobId } = info;

if (this.workers.hasOwnProperty(jobId)) {
this.workers[jobId].markSafeForTermination();
delete this.workers[jobId];
}

return Promise.resolve();
}
}
Loading