13
0

transport master: do not unregister port when session goes away

TransportMasters are independent of the session, and thus their port lifetimes should be
also.
This commit is contained in:
Paul Davis 2023-04-22 14:30:17 -06:00
parent 9625d22c0d
commit ec5320c5f1

View File

@ -246,9 +246,6 @@ void
TransportMaster::set_session (Session* s) TransportMaster::set_session (Session* s)
{ {
_session = s; _session = s;
if (!_session) {
unregister_port ();
}
} }
int int