mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-04 23:11:29 +02:00
Server: Bugfix: Collection was modified in a non thread-safe way
This commit is contained in:
parent
e37e02bbbe
commit
efa9499719
2 changed files with 6 additions and 6 deletions
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
/* Copyright (C) 2014-2019 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
*
|
||||
* You can redistribute this program and/or modify it under the terms of
|
||||
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||
|
@ -104,9 +104,9 @@ namespace SMBLibrary.Server
|
|||
{
|
||||
session.Close();
|
||||
}
|
||||
}
|
||||
|
||||
m_sessions.Clear();
|
||||
m_sessions.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
public override List<SessionInformation> GetSessionsInformation()
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
/* Copyright (C) 2014-2019 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
||||
*
|
||||
* You can redistribute this program and/or modify it under the terms of
|
||||
* the GNU Lesser Public License as published by the Free Software Foundation,
|
||||
|
@ -82,9 +82,9 @@ namespace SMBLibrary.Server
|
|||
{
|
||||
session.Close();
|
||||
}
|
||||
}
|
||||
|
||||
m_sessions.Clear();
|
||||
m_sessions.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
public override List<SessionInformation> GetSessionsInformation()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue