mirror of
https://github.com/open-simh/simh.git
synced 2026-01-14 07:40:35 +00:00
sim_tmxr.c Fixed console behaviors the console is directed to a serial port.
This commit is contained in:
parent
1fda1b1708
commit
15e648f560
@ -1950,7 +1950,8 @@ for (i = 0; i < mp->lines; i++) { /* loop thru conn */
|
||||
}
|
||||
}
|
||||
|
||||
sim_close_sock (mp->master, 1); /* close master socket */
|
||||
if (mp->master)
|
||||
sim_close_sock (mp->master, 1); /* close master socket */
|
||||
mp->master = 0;
|
||||
free (mp->port);
|
||||
mp->port = NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user