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:
parent
9625d22c0d
commit
ec5320c5f1
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user