mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-14 07:15:58 +08:00
debugger: Set the fd to -1 to indicate being disconnected.
This commit is contained in:
@@ -276,6 +276,7 @@ tcp_remote_disconnect(rtems_debugger_remote* remote)
|
||||
|
||||
tcp = (rtems_debugger_remote_tcp*) remote->data;
|
||||
close(tcp->fd);
|
||||
tcp->fd = -1;
|
||||
|
||||
rtems_debugger_unlock();
|
||||
|
||||
|
Reference in New Issue
Block a user