mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-16 04:03:47 +02:00
Server: SMB2: SMB2Session: Fixed KeyNotFoundException when calling the DisconnectTree method
This commit is contained in:
parent
fcd737a1f4
commit
5276088159
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ namespace SMBLibrary.Server
|
||||||
lock (m_openFiles)
|
lock (m_openFiles)
|
||||||
{
|
{
|
||||||
List<ulong> fileIDList = new List<ulong>(m_openFiles.Keys);
|
List<ulong> fileIDList = new List<ulong>(m_openFiles.Keys);
|
||||||
foreach (ushort fileID in fileIDList)
|
foreach (ulong fileID in fileIDList)
|
||||||
{
|
{
|
||||||
OpenFileObject openFile = m_openFiles[fileID];
|
OpenFileObject openFile = m_openFiles[fileID];
|
||||||
if (openFile.TreeID == treeID)
|
if (openFile.TreeID == treeID)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue