mirror of
https://github.com/simh/simh.git
synced 2026-01-31 05:43:06 +00:00
FRONTPANEL: Avoid potential deadlock when shutting down a panel application
This commit is contained in:
@@ -633,7 +633,7 @@ for (i=connections=0; i<sim_rem_con_tmxr.lines; i++) {
|
||||
continue;
|
||||
++connections;
|
||||
if (connections == 1)
|
||||
fprintf (st, "Remote Console Connections:\n");
|
||||
fprintf (st, "\nRemote Console Connections:\n");
|
||||
tmxr_fconns (st, rem->lp, i);
|
||||
if (rem->read_timeout != sim_rem_read_timeout) {
|
||||
if (rem->read_timeout)
|
||||
@@ -668,6 +668,7 @@ for (i=connections=0; i<sim_rem_con_tmxr.lines; i++) {
|
||||
fprintf (st, "\n");
|
||||
if (sim_switches & SWMASK ('D'))
|
||||
sim_rem_sample_output (st, rem->line);
|
||||
fprintf (st, "\n");
|
||||
}
|
||||
}
|
||||
return SCPE_OK;
|
||||
|
||||
Reference in New Issue
Block a user