mirror of https://github.com/deavminet/dnetd.git
Added mutex to `deleteProperty`
This commit is contained in:
parent
1694634e3c
commit
3be0a028c6
|
@ -989,8 +989,14 @@ public class DConnection : Thread
|
|||
*/
|
||||
public void deleteProperty(string propertyName)
|
||||
{
|
||||
/* TODO: Implement me */
|
||||
/* Lock the properties store */
|
||||
propertiesLock.lock();
|
||||
|
||||
/* Remove the property */
|
||||
properties.remove(propertyName);
|
||||
|
||||
/* Unlock the properties store */
|
||||
propertiesLock.unlock();
|
||||
}
|
||||
|
||||
public ConnectionType getConnectionType()
|
||||
|
|
Loading…
Reference in New Issue