SCP: Issue reason message before calling abort when sim_cancel fails

This commit is contained in:
Mark Pizzolato 2016-05-13 11:22:39 -07:00
parent 7bd58c6d7f
commit fdca6384f2

5
scp.c
View file

@ -8654,10 +8654,9 @@ if (sim_clock_queue != QUEUE_LIST_END)
sim_interval = sim_clock_queue->time;
else sim_interval = noqueue_time = NOQUEUE_WAIT;
if (uptr->next) {
if (sim_deb) {
sim_debug (SIM_DBG_EVENT, sim_dflt_dev, "Cancel failed for %s\n", sim_uname(uptr));
sim_printf ("Cancel failed for %s\n", sim_uname(uptr));
if (sim_deb)
fclose(sim_deb);
}
abort ();
}
return SCPE_OK;