mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-25 11:53:31 +08:00
debugger: Set the fd to -1 to indicate being disconnected.
This commit is contained in:
parent
f7a4107c6f
commit
afda2c7ac4
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user