mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-04-30 10:47:48 +02:00
Remove connected user from connection state on Logoff
This commit is contained in:
parent
fb68513c16
commit
584ca8da61
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ namespace SMBLibrary.Server
|
||||||
}
|
}
|
||||||
else if (command is LogoffAndXRequest)
|
else if (command is LogoffAndXRequest)
|
||||||
{
|
{
|
||||||
|
// FIXME: Remove connected trees that the user has connected to
|
||||||
|
state.RemoveConnectedUser(header.UID);
|
||||||
return new LogoffAndXResponse();
|
return new LogoffAndXResponse();
|
||||||
}
|
}
|
||||||
else if (state.IsTreeConnected(header.TID))
|
else if (state.IsTreeConnected(header.TID))
|
||||||
|
|
Loading…
Add table
Reference in a new issue