View | Details | Raw Unified | Return to ticket 2083
Collapse All | Expand All

(-)a/src/api/step_launch.c (-1 / +5 lines)
Lines 728-734 void slurm_step_launch_wait_finish(slurm_step_ctx_t *ctx) Link Here
728
 */
728
 */
729
void slurm_step_launch_abort(slurm_step_ctx_t *ctx)
729
void slurm_step_launch_abort(slurm_step_ctx_t *ctx)
730
{
730
{
731
	struct step_launch_state *sls = ctx->launch_state;
731
	struct step_launch_state *sls;
732
	if ( !ctx )
733
		return;
734
735
	sls = ctx->launch_state;
732
736
733
	pthread_mutex_lock(&sls->lock);
737
	pthread_mutex_lock(&sls->lock);
734
	sls->abort = true;
738
	sls->abort = true;

Return to ticket 2083