mirror of
https://github.com/simh/simh.git
synced 2026-02-26 16:54:22 +00:00
sim_tmxr.c Fixed console behaviors the console is directed to a serial port.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user